From 48bc0ffb281f979b0834660ba815c81a0260bd31 Mon Sep 17 00:00:00 2001 From: Player Name Date: Tue, 25 Mar 2025 09:55:37 +0000 Subject: [PATCH] Fixed requirement check issue with PoH portals checking for Plague City completion --- .../decoration/portalchamber/PortalChamberPlugin.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Server/src/main/content/global/skill/construction/decoration/portalchamber/PortalChamberPlugin.java b/Server/src/main/content/global/skill/construction/decoration/portalchamber/PortalChamberPlugin.java index ad8c68db8..bf1f26c54 100644 --- a/Server/src/main/content/global/skill/construction/decoration/portalchamber/PortalChamberPlugin.java +++ b/Server/src/main/content/global/skill/construction/decoration/portalchamber/PortalChamberPlugin.java @@ -90,7 +90,7 @@ public class PortalChamberPlugin extends OptionHandler { for (Locations l : Locations.values()) { if (l.name().contains(identifier)) { if (l == Locations.ARDOUGNE){ - if (player.getAttribute(ARDOUGNE_TELE_ATTRIBUTE, false)){ + if (!player.getAttribute(ARDOUGNE_TELE_ATTRIBUTE, false)) { player.sendMessage("You do not have the requirements to direct the portal there"); return; } @@ -138,12 +138,6 @@ public class PortalChamberPlugin extends OptionHandler { case "enter": String objectName = object.getName(); for (Locations l : Locations.values()) { - if (l == Locations.ARDOUGNE){ - if (player.getAttribute(ARDOUGNE_TELE_ATTRIBUTE, false)){ - player.sendMessage("You do not have the requirements to enter this portal."); - return false; - } - } if (objectName.toLowerCase().contains(l.name().toLowerCase())) { player.teleport(l.location); if (player.getHouseManager().isInHouse(player) && node.getId() == 13635) {