diff --git a/src/main/java/tconstruct/smeltery/blocks/SearedBlock.java b/src/main/java/tconstruct/smeltery/blocks/SearedBlock.java index 7de39cd0..a45317a9 100644 --- a/src/main/java/tconstruct/smeltery/blocks/SearedBlock.java +++ b/src/main/java/tconstruct/smeltery/blocks/SearedBlock.java @@ -320,9 +320,10 @@ public class SearedBlock extends InventoryBlock } else { - FaucetLogic logic = (FaucetLogic) world.getTileEntity(x, y, z); - if (logic != null) + TileEntity tile = world.getBlockTileEntity(x, y, z); + if (tile != null && tile instanceof FaucetLogic) { + FaucetLogic logic = (FaucetLogic) tile; float xMin = 0.25F; float xMax = 0.75F; float zMin = 0.25F;