From 39087ccf70bf651e0d62b526dcc1c65c993eff86 Mon Sep 17 00:00:00 2001 From: Nicholas Ignoffo Date: Mon, 27 Aug 2018 21:30:03 -0700 Subject: [PATCH] Fix obo causing altars to not fill orbs of the same tier (#1423) --- src/main/java/WayofTime/bloodmagic/altar/BloodAltar.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/WayofTime/bloodmagic/altar/BloodAltar.java b/src/main/java/WayofTime/bloodmagic/altar/BloodAltar.java index 2f9b794f..f92049e7 100644 --- a/src/main/java/WayofTime/bloodmagic/altar/BloodAltar.java +++ b/src/main/java/WayofTime/bloodmagic/altar/BloodAltar.java @@ -198,7 +198,7 @@ public class BloodAltar implements IFluidHandler } else if (input.getItem() instanceof IBloodOrb) { BloodOrb orb = ((IBloodOrb) input.getItem()).getOrb(input); - this.isActive = canBeFilled = orb != null && altarTier.ordinal() >= orb.getTier(); + this.isActive = canBeFilled = orb != null && altarTier.toInt() >= orb.getTier(); return; } }