Skip to content

Commit

Permalink
Fix gen spawn limit
Browse files Browse the repository at this point in the history
  • Loading branch information
IIHERO4 authored Aug 11, 2023
1 parent 9a0c438 commit d7ff13c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public void spawn() {
if (e.getType() == EntityType.DROPPED_ITEM) {
Item i = (Item) e;
if (i.getItemStack().getType() == ore.getType()) {
oreCount++;
oreCount += i.getItemStack().getAmount();
}
if (oreCount >= spawnLimit) return;
}
Expand Down

0 comments on commit d7ff13c

Please sign in to comment.