mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-12-24 17:47:38 +01:00
NPE ? :O
This commit is contained in:
parent
0bf9e9fc2d
commit
0ce07ad4b4
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user