Cleanup of value handling
This commit is contained in:
@@ -90,7 +90,7 @@ public class VendorBuyMsgHandler extends AbstractClientMsgHandler {
|
||||
if (!itemMan.hasRoomInventory(me.template.item_wt))
|
||||
return true;
|
||||
|
||||
int cost = me.magicValue;
|
||||
int cost = me.getValue();
|
||||
|
||||
float bargain = sourcePlayer.getBargain();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user