mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-26 02:47:44 +01:00
Fixed NPE on missing kick-reason - http://redmine.bukkit.org/issues/359
This commit is contained in:
parent
059d23b4c9
commit
be10e54235
@ -103,7 +103,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
}
|
||||
|
||||
public void kickPlayer(String message) {
|
||||
entity.a.a(message);
|
||||
entity.a.a(message == null ? "" : message);
|
||||
}
|
||||
|
||||
public void setCompassTarget(Location loc) {
|
||||
|
Loading…
Reference in New Issue
Block a user