Cleanup of value handling

This commit is contained in:
2024-03-27 13:09:35 -04:00
parent 063f3081b5
commit a1f233723f
2 changed files with 14 additions and 4 deletions
@@ -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();