Fix quasiConnectivity rule not loading from settings properly
Fixes #1862
This commit is contained in:
1 parent
f33ab81190
commit
ea3f51e6fb
1 file changed
+1
-1
@@ -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()) {
|
||||
|
||||
Reference in new issue
Block a user