From 9b18abdb3cdb587bfab31fbbd74a831a6496d695 Mon Sep 17 00:00:00 2001 From: thatsIch Date: Fri, 31 Oct 2014 18:01:49 +0100 Subject: [PATCH] Re-use the self-declared variable --- .../appeng/client/render/blocks/RenderBlockCraftingCPU.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/appeng/client/render/blocks/RenderBlockCraftingCPU.java b/src/main/java/appeng/client/render/blocks/RenderBlockCraftingCPU.java index 19571987..a3d2e40e 100644 --- a/src/main/java/appeng/client/render/blocks/RenderBlockCraftingCPU.java +++ b/src/main/java/appeng/client/render/blocks/RenderBlockCraftingCPU.java @@ -307,7 +307,7 @@ public class RenderBlockCraftingCPU extends BaseBlockRender final int tileYPos = y + side.offsetY; if ( 0 <= tileYPos && tileYPos <= 255) { - final TileEntity tile = w.getTileEntity( x + side.offsetX, y + side.offsetY, z + side.offsetZ ); + final TileEntity tile = w.getTileEntity( x + side.offsetX, tileYPos, z + side.offsetZ ); return tile instanceof TileCraftingTile; }