This commit is contained in:
Jason Mitchell committed 2020-02-29 20:23:52 -08:00
1 parent d988fb849d
commit 208de8ad3a
1 file changed
+3 -1
@@ -127,7 +127,9 @@ public class EntityButterfly extends EntityCreature implements IEntityButterfly
super.writeEntityToNBT(nbttagcompound);
NBTTagCompound bio = new NBTTagCompound();
contained.writeToNBT(bio);
if (contained != null)
contained.writeToNBT(bio);
nbttagcompound.setTag("BTFLY", bio);
if (pollen != null) {