geforkt von Mirrors/Paper
Fix client crash on InventoryClick cancel. Fixes BUKKIT-1841
Dieser Commit ist enthalten in:
Ursprung
a21f038fc3
Commit
6093bcc445
@ -1175,8 +1175,6 @@ public class NetServerHandler extends NetHandler implements ICommandListener {
|
|||||||
if (packet107setcreativeslot.slot > -1) {
|
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, packet107setcreativeslot.slot, CraftItemStack.createNMSItemStack(item)));
|
||||||
}
|
}
|
||||||
this.player.netServerHandler.sendPacket(new Packet103SetSlot(this.player.defaultContainer.windowId, -1, null));
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
case DEFAULT:
|
case DEFAULT:
|
||||||
// We do the stuff below
|
// We do the stuff below
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren