diff options
author | EvilSeph <evilseph@gmail.com> | 2012-01-28 01:59:59 -0500 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2012-01-28 03:09:48 -0500 |
commit | 7bdfea48204655ec8158784bc6653be3f281a5cf (patch) | |
tree | 8246ecd0d846b3e124e7825522d7e5690517fefb /src/main/java/net/minecraft/server/BlockPumpkin.java | |
parent | 9d90839723deb5808df125c6b4b23d6a8156f23d (diff) | |
download | craftbukkit-7bdfea48204655ec8158784bc6653be3f281a5cf.tar craftbukkit-7bdfea48204655ec8158784bc6653be3f281a5cf.tar.gz craftbukkit-7bdfea48204655ec8158784bc6653be3f281a5cf.tar.lz craftbukkit-7bdfea48204655ec8158784bc6653be3f281a5cf.tar.xz craftbukkit-7bdfea48204655ec8158784bc6653be3f281a5cf.zip |
Reverted onPlace changes.
Diffstat (limited to 'src/main/java/net/minecraft/server/BlockPumpkin.java')
-rw-r--r-- | src/main/java/net/minecraft/server/BlockPumpkin.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/BlockPumpkin.java b/src/main/java/net/minecraft/server/BlockPumpkin.java index eee735d1..8babb968 100644 --- a/src/main/java/net/minecraft/server/BlockPumpkin.java +++ b/src/main/java/net/minecraft/server/BlockPumpkin.java @@ -33,8 +33,8 @@ public class BlockPumpkin extends Block { return i == 1 ? this.textureId : (i == 0 ? this.textureId : (i == 3 ? this.textureId + 1 + 16 : this.textureId + 16)); } - public void postPlace(World world, int i, int j, int k, int m) { // CraftBukkit - onPlace(World, int, int, int) -> postPlace(World, int, int, int, int) - super.postPlace(world, i, j, k, m); // CraftBukkit - onPlace(World, int, int, int) -> postPlace(World, int, int, int, int) + public void onPlace(World world, int i, int j, int k) { + super.onPlace(world, i, j, k); if (world.getTypeId(i, j - 1, k) == Block.SNOW_BLOCK.id && world.getTypeId(i, j - 2, k) == Block.SNOW_BLOCK.id) { if (!world.isStatic && world.getServer().getServer().spawnAnimals) { // CraftBukkit - make snowmen obey spawning rules world.setTypeId(i, j, k, 0); |