Fixed isOpen in Stargate
This commit is contained in:
parent
7549f9e502
commit
2f5f93dd86
@ -32,7 +32,7 @@ public class Stargate {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean isOpen() {
|
public boolean isOpen() {
|
||||||
return isSpawned;
|
return isSpawned & other.isSpawned;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void teleport(Direction incomingDirection) {
|
public void teleport(Direction incomingDirection) {
|
||||||
|
Loading…
Reference in New Issue
Block a user