admin building creation

This commit is contained in:
2025-03-02 21:52:02 -06:00
parent d5e69446c7
commit 8e5584f413
@@ -1397,8 +1397,10 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
Zone zone = ZoneManager.getZoneByZoneID(993);
for(PlacementInfo placement : msg.getPlacementInfo()){
Building building = createStructure(pc,placement,zone);
if(building != null)
if(building != null) {
building.setProtectionState(ProtectionState.NPC);
building.setRank(1);
}
}
}
}