Minor fix for a previous commit.

This commit is contained in:
MobiusDev 2017-08-04 18:07:57 +00:00
parent c3be19da42
commit 14737f6fc5
3 changed files with 3 additions and 3 deletions

View File

@ -147,7 +147,7 @@ public final class BuyListData implements IGameXmlReader
{
LOGGER.warning("Item price is too low. BuyList:" + buyList.getListId() + " ItemID:" + itemId + " File:" + f.getName());
LOGGER.warning("Setting price to reference price " + item.getReferencePrice() + " instead of " + price + ".");
buyList.addProduct(new Product(buyList.getListId(), item, price, restockDelay, count));
buyList.addProduct(new Product(buyList.getListId(), item, item.getReferencePrice(), restockDelay, count));
}
else
{

View File

@ -147,7 +147,7 @@ public final class BuyListData implements IGameXmlReader
{
LOGGER.warning("Item price is too low. BuyList:" + buyList.getListId() + " ItemID:" + itemId + " File:" + f.getName());
LOGGER.warning("Setting price to reference price " + item.getReferencePrice() + " instead of " + price + ".");
buyList.addProduct(new Product(buyList.getListId(), item, price, restockDelay, count));
buyList.addProduct(new Product(buyList.getListId(), item, item.getReferencePrice(), restockDelay, count));
}
else
{

View File

@ -147,7 +147,7 @@ public final class BuyListData implements IGameXmlReader
{
LOGGER.warning("Item price is too low. BuyList:" + buyList.getListId() + " ItemID:" + itemId + " File:" + f.getName());
LOGGER.warning("Setting price to reference price " + item.getReferencePrice() + " instead of " + price + ".");
buyList.addProduct(new Product(buyList.getListId(), item, price, restockDelay, count));
buyList.addProduct(new Product(buyList.getListId(), item, item.getReferencePrice(), restockDelay, count));
}
else
{