summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorDinnerbone <dinnerbone@dinnerbone.com>2011-01-14 20:27:11 +0000
committerDinnerbone <dinnerbone@dinnerbone.com>2011-01-14 20:27:11 +0000
commit5cb6edd5a9b116dd3a97f1da5bbb32a393222e95 (patch)
tree6a668bc81a1cae41cea3790c9d30fe7be4b86d25 /src/main/java
parent202e44ab1a0b8365d4580183eef8fa0c336f5db1 (diff)
downloadcraftbukkit-5cb6edd5a9b116dd3a97f1da5bbb32a393222e95.tar
craftbukkit-5cb6edd5a9b116dd3a97f1da5bbb32a393222e95.tar.gz
craftbukkit-5cb6edd5a9b116dd3a97f1da5bbb32a393222e95.tar.lz
craftbukkit-5cb6edd5a9b116dd3a97f1da5bbb32a393222e95.tar.xz
craftbukkit-5cb6edd5a9b116dd3a97f1da5bbb32a393222e95.zip
Really fixed block placement... Really.
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/net/minecraft/server/ItemBlock.java5
1 files 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 042164f0..921506ac 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)));