bugfix - item pricing
This commit is contained in:
@@ -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