diff options
-rw-r--r-- | Essentials/src/com/earth2me/essentials/User.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/User.java b/Essentials/src/com/earth2me/essentials/User.java index 68afe4a68..876f8933c 100644 --- a/Essentials/src/com/earth2me/essentials/User.java +++ b/Essentials/src/com/earth2me/essentials/User.java @@ -264,7 +264,7 @@ public class User extends UserData implements Comparable<User>, IReplyTo, IUser public void requestTeleport(final User player, final boolean here) { teleportRequestTime = System.currentTimeMillis(); - teleportRequester = player.getName(); + teleportRequester = player == null ? null : player.getName(); teleportRequestHere = here; } |