Fixed NPE when draining the Blood Altar while it has an empty buffer.
This commit is contained in:
parent
2a25a149fc
commit
fa6b338a03
|
@ -3,7 +3,7 @@ Version 2.0.0-15
|
||||||
------------------------------------------------------
|
------------------------------------------------------
|
||||||
- Added blood lamp sigil array texture and reagent. Made it so the blood lamp sigil will place the light when right clicking on a block.
|
- Added blood lamp sigil array texture and reagent. Made it so the blood lamp sigil will place the light when right clicking on a block.
|
||||||
- Added magnetism sigil array texture and reagent.
|
- Added magnetism sigil array texture and reagent.
|
||||||
- Added the ability for the blood altar to have its buffer tanks accessed (Untested)
|
- Added the ability for the blood altar to have its buffer tanks accessed (Semi-tested)
|
||||||
- Improved readability for large numbers
|
- Improved readability for large numbers
|
||||||
- Fixed break particle for Alchemy Array
|
- Fixed break particle for Alchemy Array
|
||||||
- Waila handling for Alchemy Array
|
- Waila handling for Alchemy Array
|
||||||
|
@ -13,6 +13,8 @@ Version 2.0.0-15
|
||||||
- Goggles of Revealing upgrade for Living Helmet. Combine a Living Helmet and Goggles of Revealing in an Anvil
|
- Goggles of Revealing upgrade for Living Helmet. Combine a Living Helmet and Goggles of Revealing in an Anvil
|
||||||
- Fixed config for disabling rituals
|
- Fixed config for disabling rituals
|
||||||
- [API] Lots of changes to the binding system. It's now handled automatically for all items that implement IBindable.
|
- [API] Lots of changes to the binding system. It's now handled automatically for all items that implement IBindable.
|
||||||
|
- Added Incense Altar system.
|
||||||
|
- Added models for the routing nodes, incense altar, and the hellfire forge.
|
||||||
|
|
||||||
------------------------------------------------------
|
------------------------------------------------------
|
||||||
Version 2.0.0-14
|
Version 2.0.0-14
|
||||||
|
|
|
@ -797,10 +797,6 @@ public class BloodAltar implements IFluidHandler
|
||||||
if (doDrain)
|
if (doDrain)
|
||||||
{
|
{
|
||||||
fluidOutput.amount -= drained;
|
fluidOutput.amount -= drained;
|
||||||
if (fluidOutput.amount <= 0)
|
|
||||||
{
|
|
||||||
fluidOutput = null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return stack;
|
return stack;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue