bugfix - item pricing
This commit is contained in:
1 parent
7f8652b477
commit
2990396778
2 files changed
+9
-3
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user