Skip to content

Commit

Permalink
Fix improper MOTD delay check (EssentialsX#4454)
Browse files Browse the repository at this point in the history
  • Loading branch information
JRoy authored Aug 10, 2021
1 parent 36432c6 commit 35b1a28
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ public void run() {

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) {
Expand Down

0 comments on commit 35b1a28

Please # to comment.