Splits Gate into Gate, GateLayout and GateHandler, and creates a new portal package with portal related classes

This commit is contained in:
2021-02-22 17:01:47 +01:00
parent c422cb9ea9
commit fb70b8bc75
30 changed files with 749 additions and 324 deletions

View File

@@ -202,9 +202,12 @@ public class BlockLocation extends Location {
@Override
public boolean equals(Object obj) {
if (this == obj) return true;
if (obj == null) return false;
if (getClass() != obj.getClass()) return false;
if (this == obj) {
return true;
}
if (obj == null || getClass() != obj.getClass()) {
return false;
}
BlockLocation blockLocation = (BlockLocation) obj;