mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-23 09:37:50 +01:00
Who doesn't love a good ol' NPE
This commit is contained in:
parent
9550ef2a0d
commit
b836b3c041
@ -257,7 +257,7 @@ public class EssentialsPlayerListener implements Listener
|
||||
.replace("{USERNAME}", player.getName())
|
||||
);
|
||||
}
|
||||
else if (!(ess.getSettings().allowSilentJoinQuit() && user.isAuthorized("esentials.silentjoin")))
|
||||
else if (!(ess.getSettings().allowSilentJoinQuit() && user.isAuthorized("esentials.silentjoin")) && message != null)
|
||||
{
|
||||
ess.getServer().broadcastMessage(message);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user