|
|
@ -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; |
|
|
|