forked from MagicBane/Server
Inlined empty getters
This commit is contained in:
@@ -64,7 +64,7 @@ public class Mine extends AbstractGameObject {
|
||||
this.flags = rs.getInt("flags");
|
||||
int parent = rs.getInt("parent");
|
||||
this.parentZone = ZoneManager.getZoneByUUID(parent);
|
||||
this.zoneName = this.parentZone.getParent().getName();
|
||||
this.zoneName = this.parentZone.parent.zoneName;
|
||||
|
||||
this.owningGuild = Guild.getGuild(ownerUID);
|
||||
Guild nation = null;
|
||||
@@ -129,7 +129,7 @@ public class Mine extends AbstractGameObject {
|
||||
|
||||
mine.getTimestamps().put("MineAttack", System.currentTimeMillis() + MBServerStatics.ONE_MINUTE);
|
||||
|
||||
ChatManager.chatNationInfo(mine.getGuild().getNation(), mine.getName() + " in " + mine.getParentZone().getParent().getName() + " is Under attack!");
|
||||
ChatManager.chatNationInfo(mine.getGuild().getNation(), mine.getName() + " in " + mine.getParentZone().parent.zoneName + " is Under attack!");
|
||||
}
|
||||
|
||||
public static void loadAllMines() {
|
||||
|
||||
Reference in New Issue
Block a user