Fixed #477 reactor plasma not rendering

This commit is contained in:
LemADEC 2021-02-09 01:44:00 +01:00
parent b8392d3a0d
commit ded7147bcb

View file

@ -781,7 +781,8 @@ public class TileEntityEnanReactorCore extends TileEntityEnanReactorController {
super.readFromNBT(tagCompound); super.readFromNBT(tagCompound);
// skip empty NBT on placement to use defaults values // skip empty NBT on placement to use defaults values
if (!tagCompound.hasKey("outputMode")) { if ( (world == null || !world.isRemote)
&& !tagCompound.hasKey("outputMode") ) {
return; return;
} }