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 {
Item promotedItem = elanStones.promoteToItem(player); Item promotedItem = elanStones.promoteToItem(player);
promotedItem.setNumOfItems(shrine.getFavors()); promotedItem.setNumOfItems(shrine.getFavors());
player.getCharItemManager().addItemToInventory(promotedItem); player.getCharItemManager().addItemToInventory(promotedItem);
DbManager.ItemQueries.UPDATE_NUM_ITEMS(promotedItem,promotedItem.getNumOfItems(),1); DbManager.ItemQueries.UPDATE_NUM_ITEMS(promotedItem,promotedItem.getNumOfItems());
player.getCharItemManager().updateInventory(); player.getCharItemManager().updateInventory();
shrine.setFavors(0); shrine.setFavors(0);
break; break;

Loading…
Cancel
Save