One more smeltery crash fix with existing worlds.

This commit is contained in:
Bernhard Bonigl committed 2014-09-18 09:13:58 +02:00
1 parent 183c68c060
commit 083ada68bb
1 file changed
+3
@@ -112,6 +112,9 @@ public class SmelteryRender implements ISimpleBlockRenderingHandler
for (int x = from.x; x <= to.x; x++)
for (int z = from.z; z <= to.z; z++)
{
// safety because of changes.
if(i > logic.getSizeInventory())
return;
ItemStack input = logic.getStackInSlot(i);
if (input != null && logic.getTempForSlot(i) > 20)
{