diff --git a/README b/README index 450aaa4..56c3b8a 100644 --- a/README +++ b/README @@ -79,6 +79,8 @@ gate-folder - The folder containing your .gate files ============= Changes ============= +[Version 0.09] + - Gates can now be any shape [Version 0.08] - Gates can now consist of any material. - You can left or right click the button to open a gate diff --git a/src/net/TheDgtl/Stargate/Portal.java b/src/net/TheDgtl/Stargate/Portal.java index 3da27cc..ebdef80 100644 --- a/src/net/TheDgtl/Stargate/Portal.java +++ b/src/net/TheDgtl/Stargate/Portal.java @@ -311,7 +311,8 @@ public class Portal { } public boolean isVerified() { - verified = verified || getBlockAt(1, 0).getBlock().getTypeId() == gate.getControlBlock(); + for (RelativeBlockVector control : gate.getControls()) + verified = verified || getBlockAt(control).getBlock().getTypeId() == gate.getControlBlock(); return verified; } diff --git a/src/plugin.yml b/src/plugin.yml index ec107d1..0113437 100644 --- a/src/plugin.yml +++ b/src/plugin.yml @@ -1,6 +1,6 @@ name: Stargate main: net.TheDgtl.Stargate.Stargate -version: 0.08 +version: 0.09 description: Stargate mod for Bukkit author: Drakia website: http://www.thedgtl.net \ No newline at end of file