diff --git a/src/main/java/net/knarcraft/stargate/portal/Portal.java b/src/main/java/net/knarcraft/stargate/portal/Portal.java index 6245300..a5487de 100644 --- a/src/main/java/net/knarcraft/stargate/portal/Portal.java +++ b/src/main/java/net/knarcraft/stargate/portal/Portal.java @@ -613,25 +613,6 @@ public class Portal { this.fixed = fixed; } - /** - * Gets whether at least one of this portal's control blocks are powered - * - * @return

True if at least one control block is powered

- */ - public boolean isPowered() { - RelativeBlockVector[] controls = gate.getLayout().getControls(); - - for (RelativeBlockVector vector : controls) { - BlockData data = getBlockAt(vector).getBlock().getBlockData(); - - if (data instanceof Powerable && ((Powerable) data).isPowered()) { - return true; - } - } - - return false; - } - /** * Teleports a player to this portal *