From 38200663a3843a3ab5c2d8257803aeacb89bf883 Mon Sep 17 00:00:00 2001 From: boni Date: Tue, 9 Sep 2014 16:38:39 +0200 Subject: [PATCH] Fix bug with using the correct fuel tank on smeltery changes --- src/main/java/tconstruct/smeltery/logic/SmelteryLogic.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/tconstruct/smeltery/logic/SmelteryLogic.java b/src/main/java/tconstruct/smeltery/logic/SmelteryLogic.java index 69afba8b46d..8f8a9cced31 100644 --- a/src/main/java/tconstruct/smeltery/logic/SmelteryLogic.java +++ b/src/main/java/tconstruct/smeltery/logic/SmelteryLogic.java @@ -784,7 +784,7 @@ public void checkValidStructure (int x, int y, int z) FluidStack liquid = ((IFluidHandler) tankContainer).getTankInfo(ForgeDirection.DOWN)[0].fluid; if (liquid == null) - return; + continue; if (!Smeltery.isSmelteryFuel(liquid.getFluid())) continue; @@ -1214,4 +1214,4 @@ public void closeInventory () public void openInventory () { } -} \ No newline at end of file +}