Fix quasiConnectivity rule not loading from settings properly

Fixes #1862
This commit is contained in:
altrisi authored and GitHub committed 2024-01-19 15:09:45 +01:00
1 parent f33ab81190
commit ea3f51e6fb
1 file changed
+1 -1
+1 -1
View File
@@ -318,7 +318,7 @@ public class CarpetSettings
int minRange = 0;
int maxRange = 1;
if (source == null) {
if (source == null || !source.getServer().isReady()) {
maxRange = Integer.MAX_VALUE;
} else {
for (Level level : source.getServer().getAllLevels()) {