mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +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:", "");
|
||||
return restrictedWorlds.stream()
|
||||
.map(n -> n.replace("minecraft:", ""))
|
||||
.anyMatch(n -> n.equalsIgnoreCase(formattedName));
|
||||
.noneMatch(n -> n.equalsIgnoreCase(formattedName));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user