|
|
@ -1588,6 +1588,7 @@ public class ClientMessagePump implements NetMsgHandler { |
|
|
|
MobLoot resource = new MobLoot(npc,ItemBase.getItemBase(buy.getItemBaseID()), 1, true); |
|
|
|
MobLoot resource = new MobLoot(npc,ItemBase.getItemBase(buy.getItemBaseID()), 1, true); |
|
|
|
resource.setValue(Warehouse.getCostForResource(buy.getItemBaseID())); |
|
|
|
resource.setValue(Warehouse.getCostForResource(buy.getItemBaseID())); |
|
|
|
npc.getCharItemManager().addItemToInventory(resource); |
|
|
|
npc.getCharItemManager().addItemToInventory(resource); |
|
|
|
|
|
|
|
npc.getCharItemManager().updateInventory(resource,true); |
|
|
|
} |
|
|
|
} |
|
|
|
itemMan.updateInventory(); |
|
|
|
itemMan.updateInventory(); |
|
|
|
} |
|
|
|
} |
|
|
|