From 3dbc451f312d70dbcd56ee826ad88bc14bd5e285 Mon Sep 17 00:00:00 2001 From: NeverCast Date: Sat, 15 Dec 2012 19:27:31 +1300 Subject: [PATCH] Redudent null check on instanceof --- common/buildcraft/energy/TileEngine.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/buildcraft/energy/TileEngine.java b/common/buildcraft/energy/TileEngine.java index b1d94d2d..4c504ef4 100644 --- a/common/buildcraft/energy/TileEngine.java +++ b/common/buildcraft/energy/TileEngine.java @@ -425,7 +425,7 @@ public class TileEngine extends TileBuildCraft implements IPowerReceptor, IInven @Override public boolean isPipeConnected(ForgeDirection with) { - if (engine != null && engine instanceof EngineWood) { + if (engine instanceof EngineWood) { return false; }