Skip to content

Commit

Permalink
Fix quasiConnectivity rule not loading from settings properly
Browse files Browse the repository at this point in the history
Fixes #1862
  • Loading branch information
altrisi authored Jan 19, 2024
1 parent f33ab81 commit ea3f51e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/carpet/CarpetSettings.java
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ public Integer validate(CommandSourceStack source, CarpetRule<Integer> changingR
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()) {
Expand Down

0 comments on commit ea3f51e

Please sign in to comment.