item_value refactored to template
This commit is contained in:
@@ -274,7 +274,7 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler {
|
||||
if (vendor.getCharItemManager().inventoryContains(targetItem) == false)
|
||||
continue;
|
||||
|
||||
itemValue = targetItem.getBaseValue();
|
||||
itemValue = targetItem.template.item_value;
|
||||
|
||||
if (vendor.getBuilding().getStrongboxValue() + itemValue > vendor.getBuilding().getMaxGold()) {
|
||||
ErrorPopupMsg.sendErrorPopup(player, 201);
|
||||
|
||||
Reference in New Issue
Block a user