fix: noneMatch in canReturnToWorld

This commit is contained in:
William278 committed 2025-03-05 13:07:54 +00:00
1 parent 7c976953f2
commit 34e7a88e99
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));
}
}