mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 19:55:52 -07:00
Fixed NPE on missing kick-reason - http://redmine.bukkit.org/issues/359
By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
@@ -103,7 +103,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void kickPlayer(String message) {
|
public void kickPlayer(String message) {
|
||||||
entity.a.a(message);
|
entity.a.a(message == null ? "" : message);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setCompassTarget(Location loc) {
|
public void setCompassTarget(Location loc) {
|
||||||
|
Reference in New Issue
Block a user