reconnect crash fix & auto sign

This commit is contained in:
ThebestkillerTBK
2022-12-28 23:00:03 +08:00
committed by Cloudburst
parent e7de14cd03
commit e7c81710a8
5 changed files with 75 additions and 8 deletions

View File

@@ -82,6 +82,7 @@ public class AutoLogin extends Module {
private class Listener {
@EventHandler
private void onGameJoined(GameJoinedEvent event) {
if (!isActive()) return;
String command = commands.get().getOrDefault("*", commands.get().get(Utils.getWorldName()));
if (command != null) {
timer.schedule(new TimerTask() {