Refactor warehouse part two.

This commit is contained in:
MagicBot committed 2024-03-17 09:47:00 -04:00
1 parent b76a384e1f
commit f3bfdd8a36
15 files changed
+155 -120

No files matched your search

@@ -529,7 +529,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
if (validateCityBuildingPlacement(serverZone, msg, origin, player, buildingList) == false)
return false;
if (cityObject.getWarehouse() != null) {
if (cityObject.warehouse != null) {
PlaceAssetMsg.sendPlaceAssetError(origin, 50, ""); //"You can only have one warehouse"
return false;
}