diff options
author | Nathan Adams <dinnerbone@dinnerbone.com> | 2011-12-19 16:41:55 +0000 |
---|---|---|
committer | Nathan Adams <dinnerbone@dinnerbone.com> | 2011-12-19 16:41:55 +0000 |
commit | 972b2087f202d1b8ebe4195ee83e967f45241b82 (patch) | |
tree | 0ea6040ee0186fd21e88320a27b112cf8d7b1d8a /src/main/java/net/minecraft/server/WorldGenTaiga2.java | |
parent | 246d07482bf1bc3a6545e06aae19bd42f5da2a46 (diff) | |
download | craftbukkit-972b2087f202d1b8ebe4195ee83e967f45241b82.tar craftbukkit-972b2087f202d1b8ebe4195ee83e967f45241b82.tar.gz craftbukkit-972b2087f202d1b8ebe4195ee83e967f45241b82.tar.lz craftbukkit-972b2087f202d1b8ebe4195ee83e967f45241b82.tar.xz craftbukkit-972b2087f202d1b8ebe4195ee83e967f45241b82.zip |
Fixed bonemeal not being consumed on failed growth attempts. This fixes BUKKIT-337. Thanks to md-5 for the pull request!
Diffstat (limited to 'src/main/java/net/minecraft/server/WorldGenTaiga2.java')
-rw-r--r-- | src/main/java/net/minecraft/server/WorldGenTaiga2.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main/java/net/minecraft/server/WorldGenTaiga2.java b/src/main/java/net/minecraft/server/WorldGenTaiga2.java index c20ffc01..47da3a99 100644 --- a/src/main/java/net/minecraft/server/WorldGenTaiga2.java +++ b/src/main/java/net/minecraft/server/WorldGenTaiga2.java @@ -144,9 +144,6 @@ public class WorldGenTaiga2 extends WorldGenerator { for (BlockState state : event.getBlocks()) { state.update(true); } - if (event.isFromBonemeal() && itemstack != null) { - --itemstack.count; - } } } // Craftbukkit end |