Fixed isOpen in Stargate

This commit is contained in:
Bokros Bálint 2016-04-25 22:15:56 +02:00
parent 7549f9e502
commit 2f5f93dd86

View File

@ -32,7 +32,7 @@ public class Stargate {
}
public boolean isOpen() {
return isSpawned;
return isSpawned & other.isSpawned;
}
public void teleport(Direction incomingDirection) {