Fusion reactor NBT save/load, and a first attempt at plasma render. Fusion reactor is basically finished at this point.

This commit is contained in:
Ben Spiers committed 2014-07-31 22:57:30 +01:00
1 parent d7c060d6fb
commit a6ff4750e4
8 files changed
+217 -12

No files matched your search

+1 -1
View File
@@ -197,7 +197,7 @@ public class GasTank
*/
public NBTTagCompound write(NBTTagCompound nbtTags)
{
if(stored != null)
if(stored != null && stored.getGas() != null)
{
nbtTags.setTag("stored", stored.write(new NBTTagCompound()));
}