|
|
@ -192,8 +192,10 @@ public class BuyFromNPCMsgHandler extends AbstractClientMsgHandler { |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (vendorItem != null) |
|
|
|
if (vendorItem != null) { |
|
|
|
itemMan.buyFromNPC(vendorItem, npc); |
|
|
|
itemMan.buyFromNPC(vendorItem, npc); |
|
|
|
|
|
|
|
itemMan.updateInventory(); |
|
|
|
|
|
|
|
} |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
Logger.error(e); |
|
|
|
Logger.error(e); |
|
|
|