Parent zone set
This commit is contained in:
1 parent
145d9bafa0
commit
a04bdc147f
1 file changed
+5
-3
@@ -981,6 +981,11 @@ public class Building extends AbstractWorldObject {
|
||||
|
||||
try {
|
||||
|
||||
// Set Parent Zone
|
||||
|
||||
this.parentZone = ZoneManager.getZoneByUUID(this.parentZoneUUID);
|
||||
this.parentZone.zoneBuildingSet.add(this);
|
||||
|
||||
// Lookup building blueprint
|
||||
|
||||
Blueprint blueprint;
|
||||
@@ -1043,9 +1048,6 @@ public class Building extends AbstractWorldObject {
|
||||
}
|
||||
}
|
||||
|
||||
this.parentZone = ZoneManager.getZoneByUUID(this.parentZoneUUID);
|
||||
this.parentZone.zoneBuildingSet.add(this);
|
||||
|
||||
|
||||
// Submit upgrade job if building is currently set to rank.
|
||||
|
||||
|
||||
Reference in new issue
Block a user