diff --git a/src/engine/objects/Mine.java b/src/engine/objects/Mine.java index b54af98b..eef13364 100644 --- a/src/engine/objects/Mine.java +++ b/src/engine/objects/Mine.java @@ -515,6 +515,16 @@ try{ DbManager.MineQueries.CHANGE_OWNER(this, 0); + // Update mesh + + Building mineBuilding = BuildingManager.getBuildingFromCache(this.buildingID); + + if (mineBuilding == null){ + Logger.debug( "Null mine building " + this.getObjectUUID() +". Unable to Load Building with UID " +this.buildingID); + return; + } + WorldGrid.updateObject(mineBuilding); + // remove hirelings Building building = (Building) getObject(Enum.GameObjectType.Building, this.buildingID);