Resource Merchant

This commit is contained in:
2024-02-22 20:11:22 -06:00
parent 56c16fc06e
commit c14fd84d96
2 changed files with 4 additions and 7 deletions
@@ -1407,6 +1407,9 @@ public class ClientMessagePump implements NetMsgHandler {
return;
}
int cost = me.getMagicValue();
int resourceCost = Warehouse.getCostForResource(me.getItemBase().getUUID());
if(resourceCost != 0)
cost = resourceCost;
float bargain = sourcePlayer.getBargain();