Fixed NPE when draining the Blood Altar while it has an empty buffer.

This commit is contained in:
WayofTime 2016-02-07 06:45:38 -05:00
parent 2a25a149fc
commit fa6b338a03
2 changed files with 3 additions and 5 deletions

View file

@ -797,10 +797,6 @@ public class BloodAltar implements IFluidHandler
if (doDrain)
{
fluidOutput.amount -= drained;
if (fluidOutput.amount <= 0)
{
fluidOutput = null;
}
}
return stack;
}