Revert "Fix validate portals check" 4377a9418f

This commit is contained in:
2024-10-09 17:59:44 +02:00
parent 4377a9418f
commit bd12ec138b

View File

@@ -440,7 +440,7 @@ public class PortalHandler {
for (Portal portal : PortalRegistry.getAllPortals()) { for (Portal portal : PortalRegistry.getAllPortals()) {
//Try and verify the portal. Invalidate it if it cannot be validated //Try and verify the portal. Invalidate it if it cannot be validated
PortalStructure structure = portal.getStructure(); PortalStructure structure = portal.getStructure();
if (!structure.wasVerified() && !structure.isVerified() && !structure.checkIntegrity()) { if (!structure.wasVerified() && (!structure.isVerified() || !structure.checkIntegrity())) {
invalidPortals.add(portal); invalidPortals.add(portal);
} }
} }