mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-01-03 22:08:28 +00:00
Fix improper MOTD delay check (#4454)
This commit is contained in:
parent
36432c65e9
commit
35b1a284f3
1 changed files with 1 additions and 1 deletions
|
@ -368,7 +368,7 @@ public class EssentialsPlayerListener implements Listener, FakeAccessor {
|
|||
|
||||
ess.runTaskAsynchronously(() -> ess.getServer().getPluginManager().callEvent(new AsyncUserDataLoadEvent(user, effectiveMessage)));
|
||||
|
||||
if (ess.getSettings().getMotdDelay() < 0) {
|
||||
if (ess.getSettings().getMotdDelay() >= 0) {
|
||||
final int motdDelay = ess.getSettings().getMotdDelay() / 50;
|
||||
final DelayMotdTask motdTask = new DelayMotdTask(user);
|
||||
if (motdDelay > 0) {
|
||||
|
|
Loading…
Reference in a new issue