mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
One more smeltery crash fix with existing worlds.
This commit is contained in:
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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user