Browse Source

fixed build error

lakebane-master
FatBoy-DOTC 6 months ago
parent
commit
a7c3662463
  1. 2
      src/engine/net/client/handlers/ManageCityAssetMsgHandler.java

2
src/engine/net/client/handlers/ManageCityAssetMsgHandler.java

@ -136,7 +136,7 @@ public class ManageCityAssetMsgHandler extends AbstractClientMsgHandler { @@ -136,7 +136,7 @@ public class ManageCityAssetMsgHandler extends AbstractClientMsgHandler {
Item promotedItem = elanStones.promoteToItem(player);
promotedItem.setNumOfItems(shrine.getFavors());
player.getCharItemManager().addItemToInventory(promotedItem);
DbManager.ItemQueries.UPDATE_NUM_ITEMS(promotedItem,promotedItem.getNumOfItems(),1);
DbManager.ItemQueries.UPDATE_NUM_ITEMS(promotedItem,promotedItem.getNumOfItems());
player.getCharItemManager().updateInventory();
shrine.setFavors(0);
break;

Loading…
Cancel
Save