Descriptive kick reasons instead of Nope!

By: drXor <mcyoungsota@gmail.com>
This commit is contained in:
CraftBukkit/Spigot
2019-01-05 16:21:07 +11:00
parent 3eede450ed
commit d19f284744
2 changed files with 3 additions and 3 deletions

View File

@@ -824,7 +824,7 @@
this.player.resetIdleTimer();
} else {
PlayerConnection.LOGGER.warn("{} tried to set an invalid carried item", this.player.getDisplayName().getString());
+ this.disconnect("Nope!"); // CraftBukkit
+ this.disconnect("Invalid hotbar selection (Hacking?)"); // CraftBukkit
}
}