From bf18c337e281d10e92b499e26fe242a9ead5baba Mon Sep 17 00:00:00 2001 From: Nicholas Ignoffo Date: Sun, 1 Apr 2018 15:37:55 -0700 Subject: [PATCH] Fix of by one with altar upgrade calculation --- src/main/java/WayofTime/bloodmagic/altar/AltarUpgrade.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/WayofTime/bloodmagic/altar/AltarUpgrade.java b/src/main/java/WayofTime/bloodmagic/altar/AltarUpgrade.java index bdca69c4..fce1de92 100644 --- a/src/main/java/WayofTime/bloodmagic/altar/AltarUpgrade.java +++ b/src/main/java/WayofTime/bloodmagic/altar/AltarUpgrade.java @@ -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; }