Gates can now be any shape

This commit is contained in:
Drakia
2011-02-13 12:06:20 -08:00
parent 916b6df55d
commit b3044c6f03
3 changed files with 5 additions and 2 deletions

View File

@@ -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;
}