diff options
author | EvilSeph <evilseph@gmail.com> | 2012-01-26 20:34:23 -0500 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2012-01-26 20:35:20 -0500 |
commit | 98fd1a36067af69ca311d31007ceaebe3191b80e (patch) | |
tree | 5b2958b55d47aa36d8699247dfaa179888951cbd /src/main/java/net/minecraft/server/ItemInWorldManager.java | |
parent | 5900268e7a123ce7f7dadb4794194ddf65dd51ae (diff) | |
download | craftbukkit-98fd1a36067af69ca311d31007ceaebe3191b80e.tar craftbukkit-98fd1a36067af69ca311d31007ceaebe3191b80e.tar.gz craftbukkit-98fd1a36067af69ca311d31007ceaebe3191b80e.tar.lz craftbukkit-98fd1a36067af69ca311d31007ceaebe3191b80e.tar.xz craftbukkit-98fd1a36067af69ca311d31007ceaebe3191b80e.zip |
Let's be a little less tricky to the client. Relates to BUKKIT-637
Diffstat (limited to 'src/main/java/net/minecraft/server/ItemInWorldManager.java')
-rw-r--r-- | src/main/java/net/minecraft/server/ItemInWorldManager.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/ItemInWorldManager.java b/src/main/java/net/minecraft/server/ItemInWorldManager.java index 0e64d039..3c75c2c2 100644 --- a/src/main/java/net/minecraft/server/ItemInWorldManager.java +++ b/src/main/java/net/minecraft/server/ItemInWorldManager.java @@ -207,8 +207,8 @@ public class ItemInWorldManager { if (world.getTileEntity(i, j, k) == null) { Packet53BlockChange packet = new Packet53BlockChange(i, j, k, this.world); - packet.material = block.getTypeId(); - packet.data = block.getData(); + packet.material = 0; + packet.data = 0; ((EntityPlayer) this.player).netServerHandler.sendPacket(packet); } |