Merge remote-tracking branch 'origin/master' into feature/implement-entity-action

This commit is contained in:
R0bbyYT 2021-05-14 20:57:01 +02:00
commit 710d02e210

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