This commit is contained in:
aidancbrady committed 2017-02-11 16:19:48 -05:00
1 parent 99abef573c
commit 98f57257e9
1 file changed
+4 -1
@@ -169,7 +169,10 @@ public class TileComponentChunkLoader implements ITileComponent
@Override
public void write(NBTTagCompound nbtTags)
{
nbtTags.setTag("prevCoord", prevCoord.write(new NBTTagCompound()));
if(prevCoord != null)
{
nbtTags.setTag("prevCoord", prevCoord.write(new NBTTagCompound()));
}
NBTTagList list = new NBTTagList();