mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Fixed bonemeal not being consumed on failed growth attempts. This fixes BUKKIT-337. Thanks to md-5 for the pull request!
This commit is contained in:
1 parent
246d07482b
commit
972b2087f2
7 files changed
+9
-17
No files matched your search
@@ -124,9 +124,6 @@ public class WorldGenTrees extends WorldGenerator {
|
||||
for (BlockState state : event.getBlocks()) {
|
||||
state.update(true);
|
||||
}
|
||||
if (event.isFromBonemeal() && itemstack != null) {
|
||||
--itemstack.count;
|
||||
}
|
||||
}
|
||||
}
|
||||
// Craftbukkit end
|
||||
|
||||
Reference in new issue
Block a user