geforkt von Mirrors/Paper
Kick for invalid carried item.
Dieser Commit ist enthalten in:
Ursprung
f188afe794
Commit
8d35caf070
@ -830,6 +830,7 @@ public class NetServerHandler extends NetHandler implements ICommandListener {
|
|||||||
this.player.inventory.itemInHandIndex = packet16blockitemswitch.itemInHandIndex;
|
this.player.inventory.itemInHandIndex = packet16blockitemswitch.itemInHandIndex;
|
||||||
} else {
|
} else {
|
||||||
logger.warning(this.player.name + " tried to set an invalid carried item");
|
logger.warning(this.player.name + " tried to set an invalid carried item");
|
||||||
|
this.disconnect("Nope!"); // CraftBukkit
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren