Fix of by one with altar upgrade calculation

This commit is contained in:
Nicholas Ignoffo 2018-04-01 15:37:55 -07:00
parent a5a9224f6d
commit bf18c337e2

View file

@ -14,7 +14,7 @@ public class AltarUpgrade {
}
public AltarUpgrade upgrade(BloodRuneType rune) {
upgradeLevels.compute(rune, (r, l) -> l == null ? 0 : l + 1);
upgradeLevels.compute(rune, (r, l) -> l == null ? 1 : l + 1);
return this;
}