Fix thread count stuck to 1

This commit is contained in:
TheMode 2021-05-14 18:15:41 +02:00
parent 6a712b33a0
commit 93360d7e1b

View File

@ -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));
}
}