diff --git a/src/main/java/org/samo_lego/simpleauth/SimpleAuth.java b/src/main/java/org/samo_lego/simpleauth/SimpleAuth.java index 072adb6..37a0e2f 100644 --- a/src/main/java/org/samo_lego/simpleauth/SimpleAuth.java +++ b/src/main/java/org/samo_lego/simpleauth/SimpleAuth.java @@ -131,7 +131,7 @@ public class SimpleAuth implements DedicatedServerModInitializer { // Closing threads try { THREADPOOL.shutdownNow(); - if (!THREADPOOL.awaitTermination(100, TimeUnit.MICROSECONDS)) { + if (!THREADPOOL.awaitTermination(500, TimeUnit.MILLISECONDS)) { Thread.currentThread().interrupt(); } } catch (InterruptedException e) {