Skip to content

Commit

Permalink
fixed issue with secondsary market day item cost
Browse files Browse the repository at this point in the history
  • Loading branch information
BuildTools committed Feb 13, 2017
1 parent 1942e29 commit 7c547c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ private ItemStack getCostItem(Key rootKey, Player player, boolean isSecondary) {

if (paymentItem != null) {

String costAmountString = getConfig().getString(rootKey.end(COST_AMOUNT), null);
String costAmountString = getConfig().getString(rootKey.end(COST_AMOUNT + (isSecondary ? "-2" : "")), null);

if (costAmountString == null) {
warning(COST_AMOUNT + " not set for cost item: " + costNameForLogging);
Expand Down

0 comments on commit 7c547c2

Please sign in to comment.