Low tier altars should not be able to fill high tier orbs
This commit is contained in:
parent
1f392721fa
commit
70cf5d2bea
1 changed files with 2 additions and 2 deletions
|
@ -197,8 +197,8 @@ public class BloodAltar implements IFluidHandler
|
|||
}
|
||||
} else if (input.getItem() instanceof IBloodOrb)
|
||||
{
|
||||
this.isActive = true;
|
||||
this.canBeFilled = true;
|
||||
BloodOrb orb = ((IBloodOrb) input.getItem()).getOrb(input);
|
||||
this.isActive = canBeFilled = orb != null && altarTier.ordinal() >= orb.getTier();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue