mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-19 06:42:02 +01:00
SPIGOT-7796: Kickplayer newlines not working
By: md_5 <git@md-5.net>
This commit is contained in:
parent
d8b3812655
commit
0d64e2be4b
@ -479,7 +479,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
public void kickPlayer(String message) {
|
||||
if (getHandle().connection == null) return;
|
||||
|
||||
getHandle().connection.disconnect(CraftChatMessage.fromStringOrEmpty(message));
|
||||
getHandle().connection.disconnect(CraftChatMessage.fromStringOrEmpty(message, true));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user