|
|
@ -1457,12 +1457,6 @@ public class ClientMessagePump implements NetMsgHandler { |
|
|
|
return; |
|
|
|
return; |
|
|
|
}if(npc.getContractID() == 1502041){ |
|
|
|
}if(npc.getContractID() == 1502041){ |
|
|
|
me.fromNoob = true; |
|
|
|
me.fromNoob = true; |
|
|
|
buy = Item.createItemForPlayer(sourcePlayer, ib, me.fromNoob); |
|
|
|
|
|
|
|
if (buy != null) { |
|
|
|
|
|
|
|
me.transferEnchants(buy); |
|
|
|
|
|
|
|
itemMan.addItemToInventory(buy); |
|
|
|
|
|
|
|
itemMan.updateInventory(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} else if (!itemMan.buyFromNPC(b, cost, buildingDeposit)) { |
|
|
|
} else if (!itemMan.buyFromNPC(b, cost, buildingDeposit)) { |
|
|
|
// chatMan.chatSystemInfo(pc, "" + "You Failed to buy the item.");
|
|
|
|
// chatMan.chatSystemInfo(pc, "" + "You Failed to buy the item.");
|
|
|
|
ChatManager.chatSystemError(sourcePlayer, "Failed To Buy Item"); |
|
|
|
ChatManager.chatSystemError(sourcePlayer, "Failed To Buy Item"); |
|
|
|