From 460df89e105e76657f2af7dd0367b94f60859fef Mon Sep 17 00:00:00 2001 From: WayofTime Date: Thu, 11 Feb 2016 15:56:08 -0500 Subject: [PATCH] Fixed Blood Altar resetting when clicked with an item. --- changelog.txt | 2 ++ src/main/java/WayofTime/bloodmagic/altar/BloodAltar.java | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/changelog.txt b/changelog.txt index 62fd0bc6..d2b184d1 100644 --- a/changelog.txt +++ b/changelog.txt @@ -4,6 +4,8 @@ Version 2.0.0-17 - Added Living Armour Upgrades - Solar Powered - Grim Reaper's Sprint +- Fixed Blood Altar's progress resetting when clicking with another item +- Fixed Divination and Seer sigils crashing when clicking on an altar while not bound ------------------------------------------------------ Version 2.0.0-16 diff --git a/src/main/java/WayofTime/bloodmagic/altar/BloodAltar.java b/src/main/java/WayofTime/bloodmagic/altar/BloodAltar.java index b357a705..e840da2f 100644 --- a/src/main/java/WayofTime/bloodmagic/altar/BloodAltar.java +++ b/src/main/java/WayofTime/bloodmagic/altar/BloodAltar.java @@ -690,7 +690,10 @@ public class BloodAltar implements IFluidHandler public void setActive() { - isActive = false; + if (tileAltar.getStackInSlot(0) == null) + { + isActive = false; + } } public boolean isActive()