1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-02-17 18:47:40 +01:00

Fixed NPE on missing kick-reason - http://redmine.bukkit.org/issues/359

By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
CraftBukkit/Spigot 2011-02-04 23:02:52 +01:00
parent c3c665c6f8
commit e92ced90dd

View file

@ -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) {