Inlined empty getters
This commit is contained in:
1 parent
bf9fdae58b
commit
46b3db033b
58 files changed
+210
-284
No files matched your search
@@ -460,10 +460,10 @@ public class Building extends AbstractWorldObject {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (this.parentZone.isPlayerCity() == false)
|
||||
if (this.parentZone.isPlayerCity == false)
|
||||
return null;
|
||||
|
||||
return City.getCity(this.parentZone.getPlayerCityUUID());
|
||||
return City.getCity(this.parentZone.playerCityID);
|
||||
|
||||
}
|
||||
|
||||
@@ -1402,7 +1402,7 @@ public class Building extends AbstractWorldObject {
|
||||
// Buildings on an npc citygrid are never vulnerable
|
||||
|
||||
if (this.getCity() != null) {
|
||||
if (this.getCity().getParent().isNPCCity() == true)
|
||||
if (this.getCity().getParent().isNPCCity == true)
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user