Resource Merchant

This commit is contained in:
FatBoy committed 2024-02-22 20:11:22 -06:00
1 parent 56c16fc06e
commit c14fd84d96
2 files changed
+4 -7

No files matched your search

@@ -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();