diff --git a/src/main/java/tconstruct/smeltery/logic/SmelteryLogic.java b/src/main/java/tconstruct/smeltery/logic/SmelteryLogic.java index 366d52b81c3..2a508e92563 100644 --- a/src/main/java/tconstruct/smeltery/logic/SmelteryLogic.java +++ b/src/main/java/tconstruct/smeltery/logic/SmelteryLogic.java @@ -720,8 +720,8 @@ public int getInventoryStackLimit () @Override public void markDirty () { - updateEntity(); updateTemperatures(); + updateEntity(); super.markDirty(); needsUpdate = true; @@ -1212,12 +1212,12 @@ public void readFromNBT (NBTTagCompound tags) moltenMetal.add(fluid); } - if(maxBlockCapacity != meltingTemps.length) - adjustLayers(layers, true); + //if(maxBlockCapacity != meltingTemps.length) + // adjustLayers(layers, true); if(!tags.getBoolean("ValidStructure")) validStructure = false; // only negative update because we want to do a clientside structure check too - else if(!validStructure) + else if(!validStructure && worldObj != null) // if the worldobj is null it happens on loading of a world. check shouldn't be done there checkValidPlacement(); // adjustLayers(layers, true);