Removed unnessary "instanceof"
This commit is contained in:
parent
41415ab683
commit
11adb89791
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ public class TileEntityWire extends TileEntityUniversalConductor implements ITil
|
|||
|
||||
if (tileEntity != null)
|
||||
{
|
||||
if (/* tileEntity.getClass().isInstance(this) && */tileEntity instanceof INetworkProvider)
|
||||
if (tileEntity instanceof INetworkProvider)
|
||||
{
|
||||
this.getNetwork().merge(((INetworkProvider) tileEntity).getNetwork());
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue