forked from MagicBane/Server
Refactor warehouse part two.
This commit is contained in:
@@ -78,7 +78,7 @@ public class ViewResourcesMessage extends ClientNetMsg {
|
||||
if (this.city == null)
|
||||
return false;
|
||||
|
||||
this.warehouseObject = this.city.getWarehouse();
|
||||
this.warehouseObject = this.city.warehouse;
|
||||
|
||||
return this.warehouseObject != null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user