From 6655b8903773bf52cbb95f2871b69d052c55be10 Mon Sep 17 00:00:00 2001 From: speakeasy Date: Wed, 23 Feb 2011 04:18:33 -0600 Subject: possible fix for levers, ladders, and buttons --- src/main/java/net/minecraft/server/ItemBlock.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/net/minecraft') 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; -- cgit v1.2.3