|
|
@ -1480,6 +1480,7 @@ public class ClientMessagePump implements NetMsgHandler { |
|
|
|
if (buy != null) { |
|
|
|
if (buy != null) { |
|
|
|
me.transferEnchants(buy); |
|
|
|
me.transferEnchants(buy); |
|
|
|
itemMan.addItemToInventory(buy); |
|
|
|
itemMan.addItemToInventory(buy); |
|
|
|
|
|
|
|
buy.stripCastableEnchants(); |
|
|
|
if(npc.contractUUID == 900 && buy.getItemBaseID() == 1705032){ |
|
|
|
if(npc.contractUUID == 900 && buy.getItemBaseID() == 1705032){ |
|
|
|
buy.setNumOfItems(10); |
|
|
|
buy.setNumOfItems(10); |
|
|
|
DbManager.ItemQueries.UPDATE_NUM_ITEMS(buy,buy.getNumOfItems()); |
|
|
|
DbManager.ItemQueries.UPDATE_NUM_ITEMS(buy,buy.getNumOfItems()); |
|
|
|