mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 11:18:23 +01:00
Fix client crash on InventoryClick cancel. Fixes BUKKIT-1841
This commit is contained in:
parent
a21f038fc3
commit
6093bcc445
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue