erro log fix and zerg mechanic manager

This commit is contained in:
2024-02-17 19:40:26 -06:00
parent a1115e728c
commit 558b645274
3 changed files with 166 additions and 165 deletions
@@ -294,7 +294,7 @@ public class ManageCityAssetMsgHandler extends AbstractClientMsgHandler {
// Owner is obviously allowed to upgrade his own buildings
if (building.getOwner().equals(player)) {
if (building.getOwner() != null && building.getOwner().equals(player)) {
// Players cannot destroy or transfer a TOL.