Skip to content

Commit

Permalink
One more smeltery crash fix with existing worlds.
Browse files Browse the repository at this point in the history
  • Loading branch information
bonii-xx committed Sep 18, 2014
1 parent 183c68c commit 083ada6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/tconstruct/smeltery/model/SmelteryRender.java
Expand Up @@ -112,6 +112,9 @@ void renderLayer (SmelteryLogic logic, int start, CoordTuple from, CoordTuple to
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)
{
Expand Down

0 comments on commit 083ada6

Please sign in to comment.