Redudent null check on instanceof
This commit is contained in:
parent
8073fed1d1
commit
3dbc451f31
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue