3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-16 21:10:17 +01:00

Kick for invalid carried item.

Dieser Commit ist enthalten in:
EvilSeph 2012-03-22 02:55:50 -04:00
Ursprung f188afe794
Commit 8d35caf070

Datei anzeigen

@ -830,6 +830,7 @@ public class NetServerHandler extends NetHandler implements ICommandListener {
this.player.inventory.itemInHandIndex = packet16blockitemswitch.itemInHandIndex;
} else {
logger.warning(this.player.name + " tried to set an invalid carried item");
this.disconnect("Nope!"); // CraftBukkit
}
}