proper contract names in asset management window

This commit is contained in:
2023-04-22 22:10:06 -05:00
parent 09d7ff0740
commit c02c5750c6
@@ -275,7 +275,8 @@ public class ManageCityAssetsMsg extends ClientNetMsg {
if (npcHire.getObjectType() == GameObjectType.NPC) if (npcHire.getObjectType() == GameObjectType.NPC)
writer.putString(((NPC)npcHire).getContract().getName()); writer.putString(((NPC)npcHire).getContract().getName());
else else
writer.putString("Guard Captain"); writer.putString(((Mob)npcHire).getContract().getName());
//writer.putString("Guard Captain");
writer.putString(npcHire.getName()); writer.putString(npcHire.getName());
writer.putInt(1); writer.putInt(1);
writer.putInt(Blueprint.getNpcMaintCost(npcHire.getRank())); writer.putInt(Blueprint.getNpcMaintCost(npcHire.getRank()));