Browse Source

Nephilim Shrine renames Chaos Shrine

lakebane-master
FatBoy-DOTC 9 months ago
parent
commit
850d2dfea0
  1. 5
      src/engine/net/client/handlers/PlaceAssetMsgHandler.java

5
src/engine/net/client/handlers/PlaceAssetMsgHandler.java

@ -1213,7 +1213,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler { @@ -1213,7 +1213,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
private boolean createShrine(PlayerCharacter player, PlacementInfo buildingInfo, Zone currentZone) {
Blueprint blueprint;
Building newMesh;
Building newMesh = null;
Shrine newShrine;
City city;
ShrineType shrineType;
@ -1274,6 +1274,9 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler { @@ -1274,6 +1274,9 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
break;
}
}
if(blueprint.getName().equals("Nephilim Shrine ") && newMesh != null){
newMesh.setName("Chaos Shrine");
}
return true;
}

Loading…
Cancel
Save