diff options
author | speakeasy <mekevin1917@gmail.com> | 2011-02-23 04:18:33 -0600 |
---|---|---|
committer | Erik Broes <erikbroes@grum.nl> | 2011-02-23 11:27:22 +0100 |
commit | 6655b8903773bf52cbb95f2871b69d052c55be10 (patch) | |
tree | 9de74ffb1d554e2e32137f532d500e621f952752 /src/main/java/net/minecraft/server/ItemBlock.java | |
parent | f622db3ea1d1210f6a79563ef329bc161906d610 (diff) | |
download | craftbukkit-6655b8903773bf52cbb95f2871b69d052c55be10.tar craftbukkit-6655b8903773bf52cbb95f2871b69d052c55be10.tar.gz craftbukkit-6655b8903773bf52cbb95f2871b69d052c55be10.tar.lz craftbukkit-6655b8903773bf52cbb95f2871b69d052c55be10.tar.xz craftbukkit-6655b8903773bf52cbb95f2871b69d052c55be10.zip |
possible fix for levers, ladders, and buttons
Diffstat (limited to 'src/main/java/net/minecraft/server/ItemBlock.java')
-rw-r--r-- | src/main/java/net/minecraft/server/ItemBlock.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/ItemBlock.java b/src/main/java/net/minecraft/server/ItemBlock.java index d16e1454..c1561933 100644 --- a/src/main/java/net/minecraft/server/ItemBlock.java +++ b/src/main/java/net/minecraft/server/ItemBlock.java @@ -126,7 +126,7 @@ public class ItemBlock extends Item { } else { world.f(i, j, k, a); // <-- world.b does this on success (tell the world) - Block.byId[this.a].c(world, i, j, k, l); + Block.byId[this.a].d(world, i, j, k, l); Block.byId[this.a].a(world, i, j, k, (EntityLiving) entityhuman); world.a((double) ((float) i + 0.5F), (double) ((float) j + 0.5F), (double) ((float) k + 0.5F), block.stepSound.c(), (block.stepSound.a() + 1.0F) / 2.0F, block.stepSound.b() * 0.8F); --itemstack.count; |