Skip to content

Commit

Permalink
Fix incorrect cactus drop. (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
C0bra5 authored Dec 29, 2023
1 parent 2a0ddf0 commit c6f76f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public int weightInfluences(ICropTile crop, float humidity, float nutrients, flo

@Override
public ItemStack getGain(ICropTile crop) {
if (BiomesOPlenty.isModLoaded() && crop.getSize() >= this.maxSize() - 1)
if (BiomesOPlenty.isModLoaded() && crop.getSize() == this.maxSize() - 1)
return new ItemStack(BOPCBlocks.plants, 1, 12);
else return new ItemStack(Item.getItemById(81), 1, 0);
}
Expand Down

0 comments on commit c6f76f7

Please sign in to comment.