mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-08 03:50:06 +01:00
Fix issue in login messages
Message wouldn't be displayed if silent join is enabled and custom is disabled. Probably.
This commit is contained in:
parent
d40e331c8a
commit
309273dc6b
@ -264,6 +264,10 @@ public class EssentialsPlayerListener implements Listener
|
||||
.replace("{USERNAME}", player.getName())
|
||||
);
|
||||
}
|
||||
else if(ess.getSettings().allowSilentJoinQuit())
|
||||
{
|
||||
ess.getServer().broadcastMessage(message);
|
||||
}
|
||||
|
||||
if (!ess.getSettings().isCommandDisabled("motd") && user.isAuthorized("essentials.motd"))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user