Fixed stupid NPE in the Furnace Array
This commit is contained in:
parent
f01e1bfee0
commit
9c2621e93a
|
@ -1,3 +1,8 @@
|
|||
------------------------------------------------------
|
||||
Version 2.2.9
|
||||
------------------------------------------------------
|
||||
- Fixed stupid NPE in the Furnace Array
|
||||
|
||||
------------------------------------------------------
|
||||
Version 2.2.8
|
||||
------------------------------------------------------
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue