diff options
author | H31IX <effectsdude@gmail.com> | 2012-06-22 01:15:56 -0400 |
---|---|---|
committer | Travis Watkins <amaranth@ubuntu.com> | 2012-06-28 19:34:51 -0500 |
commit | 6093bcc44508395ea8d9a06859388e0a1de6e8a7 (patch) | |
tree | 4efd10c2e25c1d82fcd05fa26881d58b51e8aa58 /src | |
parent | a21f038fc335c6d9e77290e613937c234d0a15a1 (diff) | |
download | craftbukkit-6093bcc44508395ea8d9a06859388e0a1de6e8a7.tar craftbukkit-6093bcc44508395ea8d9a06859388e0a1de6e8a7.tar.gz craftbukkit-6093bcc44508395ea8d9a06859388e0a1de6e8a7.tar.lz craftbukkit-6093bcc44508395ea8d9a06859388e0a1de6e8a7.tar.xz craftbukkit-6093bcc44508395ea8d9a06859388e0a1de6e8a7.zip |
Fix client crash on InventoryClick cancel. Fixes BUKKIT-1841
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/net/minecraft/server/NetServerHandler.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/NetServerHandler.java b/src/main/java/net/minecraft/server/NetServerHandler.java index 830212c6..7377d4db 100644 --- a/src/main/java/net/minecraft/server/NetServerHandler.java +++ b/src/main/java/net/minecraft/server/NetServerHandler.java @@ -1175,8 +1175,6 @@ public class NetServerHandler extends NetHandler implements ICommandListener { if (packet107setcreativeslot.slot > -1) { this.player.netServerHandler.sendPacket(new Packet103SetSlot(this.player.defaultContainer.windowId, packet107setcreativeslot.slot, CraftItemStack.createNMSItemStack(item))); } - this.player.netServerHandler.sendPacket(new Packet103SetSlot(this.player.defaultContainer.windowId, -1, null)); - return; case DEFAULT: // We do the stuff below |