Skip to content

Commit 3847f9a

Browse files
committed
Fix login delay with AuthMe and NLogin being too long
1 parent 8326bf5 commit 3847f9a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

AdvancedCore/src/main/java/com/bencodez/advancedcore/listeners/AuthMeLogin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public void run() {
3333
}
3434
}
3535
}
36-
}, 2 + (plugin.getOptions().getDelayLoginEvent() / 50));
36+
}, 2 + (plugin.getOptions().getDelayLoginEvent() / 1000));
3737

3838
}
3939
}

AdvancedCore/src/main/java/com/bencodez/advancedcore/listeners/NLoginAuthenticate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ public void nLoginLogin(AuthenticateEvent event) {
2626
Bukkit.getPluginManager().callEvent(login);
2727
}
2828
}
29-
}, 2 + (plugin.getOptions().getDelayLoginEvent() / 50));
29+
}, 2 + (plugin.getOptions().getDelayLoginEvent() / 1000));
3030
}
3131
}

0 commit comments

Comments
 (0)