Fixed the Blood Altar so it can actually fill Blood Orbs (derp).
This commit is contained in:
parent
f4aef16ed1
commit
6522b0fa1b
3 changed files with 3 additions and 4 deletions
|
@ -268,7 +268,7 @@ public class BloodAltar implements IFluidHandler
|
|||
return;
|
||||
}
|
||||
|
||||
if (recipe == null)
|
||||
if (!canBeFilled && recipe == null)
|
||||
{
|
||||
startCycle();
|
||||
return;
|
||||
|
@ -365,7 +365,6 @@ public class BloodAltar implements IFluidHandler
|
|||
if (fluid != null && fluid.amount >= 1)
|
||||
{
|
||||
int liquidDrained = Math.min((int) (altarTier.ordinal() >= 2 ? orb.getFillRate() * (1 + consumptionMultiplier) : orb.getFillRate()), fluid.amount);
|
||||
|
||||
int drain = NetworkHelper.getSoulNetwork(binding).add(liquidDrained, (int) (orb.getCapacity() * this.orbCapacityMultiplier));
|
||||
fluid.amount = fluid.amount - drain;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue