Cleanup of value handling
This commit is contained in:
1 parent
063f3081b5
commit
a1f233723f
2 files changed
+14
-4
No files matched your search
@@ -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