mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-04 06:28:49 +00:00
fix: noneMatch in canReturnToWorld
This commit is contained in:
1 file changed
+1
-1
@@ -230,7 +230,7 @@ public final class Settings {
|
|||||||
final String formattedName = name.replace("minecraft:", "");
|
final String formattedName = name.replace("minecraft:", "");
|
||||||
return restrictedWorlds.stream()
|
return restrictedWorlds.stream()
|
||||||
.map(n -> n.replace("minecraft:", ""))
|
.map(n -> n.replace("minecraft:", ""))
|
||||||
.anyMatch(n -> n.equalsIgnoreCase(formattedName));
|
.noneMatch(n -> n.equalsIgnoreCase(formattedName));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user