diff --git a/changelog.txt b/changelog.txt index ae38265b..ee011044 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,8 @@ +------------------------------------------------------ +Version 2.2.9 +------------------------------------------------------ +- Fixed stupid NPE in the Furnace Array + ------------------------------------------------------ Version 2.2.8 ------------------------------------------------------ diff --git a/src/main/java/WayofTime/bloodmagic/alchemyArray/AlchemyArrayEffectFurnaceFuel.java b/src/main/java/WayofTime/bloodmagic/alchemyArray/AlchemyArrayEffectFurnaceFuel.java index b9f2f51b..c21135ac 100644 --- a/src/main/java/WayofTime/bloodmagic/alchemyArray/AlchemyArrayEffectFurnaceFuel.java +++ b/src/main/java/WayofTime/bloodmagic/alchemyArray/AlchemyArrayEffectFurnaceFuel.java @@ -62,6 +62,11 @@ public class AlchemyArrayEffectFurnaceFuel extends AlchemyArrayEffect } } + if (sacrifice == null || sacrifice.isDead) + { + return false; + } + if (addFuelTime(furnaceTile, world, furnacePos, burnTicksAdded)) { if (!sacrifice.capabilities.isCreativeMode)