summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/ItemBlock.java
diff options
context:
space:
mode:
authorDinnerbone <dinnerbone@dinnerbone.com>2011-01-14 19:44:11 +0000
committerDinnerbone <dinnerbone@dinnerbone.com>2011-01-14 19:44:11 +0000
commit202e44ab1a0b8365d4580183eef8fa0c336f5db1 (patch)
tree156228a74e72f61091113e4122044c577234b75b /src/main/java/net/minecraft/server/ItemBlock.java
parentfe4d5db0e0382faa10e95abb0c4d47a0823deefe (diff)
downloadcraftbukkit-202e44ab1a0b8365d4580183eef8fa0c336f5db1.tar
craftbukkit-202e44ab1a0b8365d4580183eef8fa0c336f5db1.tar.gz
craftbukkit-202e44ab1a0b8365d4580183eef8fa0c336f5db1.tar.lz
craftbukkit-202e44ab1a0b8365d4580183eef8fa0c336f5db1.tar.xz
craftbukkit-202e44ab1a0b8365d4580183eef8fa0c336f5db1.zip
Fixed blocks not keeping data on placement
Diffstat (limited to 'src/main/java/net/minecraft/server/ItemBlock.java')
-rw-r--r--src/main/java/net/minecraft/server/ItemBlock.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/ItemBlock.java b/src/main/java/net/minecraft/server/ItemBlock.java
index 269ba319..042164f0 100644
--- a/src/main/java/net/minecraft/server/ItemBlock.java
+++ b/src/main/java/net/minecraft/server/ItemBlock.java
@@ -87,8 +87,8 @@ public class ItemBlock extends Item {
if (this.a == 79) {
world.a(i, j, k, 20);
}
- world.a(i, j, k, oldMaterial);
- world.c(i, j, k, oldData);
+ 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);