|
|
@ -970,7 +970,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Create the shrine
|
|
|
|
// Create the shrine
|
|
|
|
|
|
|
|
|
|
|
|
return createShrine((PlayerCharacter) cityObject.getTOL().getOwner(), msg.getFirstPlacementInfo(), serverZone); |
|
|
|
return createShrine((PlayerCharacter) cityObject.getTOL().getOwner(), msg.getFirstPlacementInfo(), serverZone); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -1213,7 +1213,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler { |
|
|
|
private boolean createShrine(PlayerCharacter player, PlacementInfo buildingInfo, Zone currentZone) { |
|
|
|
private boolean createShrine(PlayerCharacter player, PlacementInfo buildingInfo, Zone currentZone) { |
|
|
|
|
|
|
|
|
|
|
|
Blueprint blueprint; |
|
|
|
Blueprint blueprint; |
|
|
|
Building newMesh; |
|
|
|
Building newMesh = null; |
|
|
|
Shrine newShrine; |
|
|
|
Shrine newShrine; |
|
|
|
City city; |
|
|
|
City city; |
|
|
|
ShrineType shrineType; |
|
|
|
ShrineType shrineType; |
|
|
@ -1274,7 +1274,10 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler { |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if(blueprint.getName().equals("Nephilim Shrine ") && newMesh != null){ |
|
|
|
|
|
|
|
newMesh.setName("Chaos Shrine"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|