This commit is contained in:
Xephi59 2015-07-12 22:39:14 +02:00
parent 0bf9e9fc2d
commit 0ce07ad4b4

View File

@ -559,7 +559,7 @@ public class AuthMePlayerListener implements Listener {
plugin.management.performJoin(player);
// Remove the join message while the player isn't logging in
if (Settings.enableProtection || Settings.delayJoinMessage) {
if ((Settings.enableProtection || Settings.delayJoinMessage) && name != null && event.getJoinMessage() != null) {
joinMessage.put(name, event.getJoinMessage());
event.setJoinMessage(null);
}