diff --git a/src/main/java/net/minestom/server/MinecraftServer.java b/src/main/java/net/minestom/server/MinecraftServer.java index 1a8a71b8a..4057bace8 100644 --- a/src/main/java/net/minestom/server/MinecraftServer.java +++ b/src/main/java/net/minestom/server/MinecraftServer.java @@ -826,6 +826,6 @@ public final class MinecraftServer { } private static int getThreadCount(@NotNull String property, int count) { - return Integer.getInteger(property, Math.min(1, count)); + return Integer.getInteger(property, Math.max(1, count)); } }