Redudent null check on instanceof

This commit is contained in:
NeverCast 2012-12-15 19:27:31 +13:00
parent 8073fed1d1
commit 3dbc451f31

View file

@ -425,7 +425,7 @@ public class TileEngine extends TileBuildCraft implements IPowerReceptor, IInven
@Override @Override
public boolean isPipeConnected(ForgeDirection with) { public boolean isPipeConnected(ForgeDirection with) {
if (engine != null && engine instanceof EngineWood) { if (engine instanceof EngineWood) {
return false; return false;
} }