From fa6b338a0392e3c59d29560a2c466f31f1f661a1 Mon Sep 17 00:00:00 2001 From: WayofTime Date: Sun, 7 Feb 2016 06:45:38 -0500 Subject: [PATCH] Fixed NPE when draining the Blood Altar while it has an empty buffer. --- changelog.txt | 4 +++- src/main/java/WayofTime/bloodmagic/altar/BloodAltar.java | 4 ---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/changelog.txt b/changelog.txt index b7181dce..4473dd28 100644 --- a/changelog.txt +++ b/changelog.txt @@ -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 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 - Fixed break particle 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 - Fixed config for disabling rituals - [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 diff --git a/src/main/java/WayofTime/bloodmagic/altar/BloodAltar.java b/src/main/java/WayofTime/bloodmagic/altar/BloodAltar.java index 7533030d..b357a705 100644 --- a/src/main/java/WayofTime/bloodmagic/altar/BloodAltar.java +++ b/src/main/java/WayofTime/bloodmagic/altar/BloodAltar.java @@ -797,10 +797,6 @@ public class BloodAltar implements IFluidHandler if (doDrain) { fluidOutput.amount -= drained; - if (fluidOutput.amount <= 0) - { - fluidOutput = null; - } } return stack; }