Merge branch 'lakebane-mines' into lakebane-custom-races
This commit is contained in:
@@ -1408,7 +1408,7 @@ public class ClientMessagePump implements NetMsgHandler {
|
||||
}
|
||||
int cost = me.getMagicValue();
|
||||
int resourceCost = Warehouse.getCostForResource(me.getItemBase().getUUID());
|
||||
if(resourceCost != 0)
|
||||
if (resourceCost != 0)
|
||||
cost = resourceCost;
|
||||
|
||||
float bargain = sourcePlayer.getBargain();
|
||||
@@ -1440,10 +1440,9 @@ public class ClientMessagePump implements NetMsgHandler {
|
||||
|
||||
if (!itemMan.buyFromNPC(b, cost, buildingDeposit)) {
|
||||
// chatMan.chatSystemInfo(pc, "" + "You Failed to buy the item.");
|
||||
ChatManager.chatSystemError(sourcePlayer,"Failed To Buy Item");
|
||||
ChatManager.chatSystemError(sourcePlayer, "Failed To Buy Item");
|
||||
return;
|
||||
}
|
||||
|
||||
buy = Item.createItemForPlayer(sourcePlayer, ib);
|
||||
if (buy != null) {
|
||||
me.transferEnchants(buy);
|
||||
|
||||
Reference in New Issue
Block a user