bugfix - item pricing

This commit is contained in:
2024-04-03 20:36:15 -05:00
parent 7f8652b477
commit 2990396778
2 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -1406,7 +1406,7 @@ public class ClientMessagePump implements NetMsgHandler {
if (!itemMan.hasRoomInventory(ib.getWeight())) {
return;
}
int cost = me.getMagicValue();
int cost = me.magicValue;
int resourceCost = Warehouse.getCostForResource(me.getItemBase().getUUID());
if (resourceCost != 0)
cost = resourceCost;