From 5cb6edd5a9b116dd3a97f1da5bbb32a393222e95 Mon Sep 17 00:00:00 2001 From: Dinnerbone Date: Fri, 14 Jan 2011 20:27:11 +0000 Subject: [PATCH] Really fixed block placement... Really. --- src/main/java/net/minecraft/server/ItemBlock.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/net/minecraft/server/ItemBlock.java b/src/main/java/net/minecraft/server/ItemBlock.java index 042164f048..921506ac05 100644 --- a/src/main/java/net/minecraft/server/ItemBlock.java +++ b/src/main/java/net/minecraft/server/ItemBlock.java @@ -85,13 +85,12 @@ public class ItemBlock extends Item { // Specialcase iceblocks, replace with 'glass' first (so it doesn't explode into water) if (this.a == 79) { - world.a(i, j, k, 20); + world.b(i, j, k, 20); } world.b(i, j, k, oldMaterial); world.d(i, j, k, oldData); } else { - world.g(i, j, k); - world.h(i, j, k, this.a); + world.b(i, j, k, a, a(itemstack.h())); Block.m[a].c(world, i, j, k, l); Block.m[a].a(world, i, j, k, ((EntityLiving) (entityplayer)));