From 0001f9c8f1765e7a334003963355b9df2d689e45 Mon Sep 17 00:00:00 2001 From: Vincent Lee Date: Fri, 17 Jun 2016 19:43:45 -0500 Subject: [PATCH] Save flare chakram state in NBT, closes upstream issue 1620 --- .../java/vazkii/botania/common/entity/EntityThornChakram.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/vazkii/botania/common/entity/EntityThornChakram.java b/src/main/java/vazkii/botania/common/entity/EntityThornChakram.java index d7a662678..2e85d0648 100644 --- a/src/main/java/vazkii/botania/common/entity/EntityThornChakram.java +++ b/src/main/java/vazkii/botania/common/entity/EntityThornChakram.java @@ -204,6 +204,7 @@ public class EntityThornChakram extends EntityThrowable { if(stack != null) { compound.setTag("fly_stack", stack.writeToNBT(new NBTTagCompound())); } + compound.setBoolean("flare", isFire()); } @Override @@ -212,6 +213,7 @@ public class EntityThornChakram extends EntityThrowable { if(compound.hasKey("fly_stack")) { stack = ItemStack.loadItemStackFromNBT(compound.getCompoundTag("fly_stack")); } + setFire(compound.getBoolean("flare")); } }