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

View File

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