Add ability to manually force-fix a network using a configurator
This commit is contained in:
parent
b01cf3b8f7
commit
30ca7d82d6
1 changed files with 4 additions and 0 deletions
|
@ -60,6 +60,10 @@ public class ItemConfigurator extends ItemEnergized
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if(world.getBlockTileEntity(x, y, z) instanceof IUniversalCable)
|
||||||
|
{
|
||||||
|
((IUniversalCable)world.getBlockTileEntity(x, y, z)).fixNetwork();
|
||||||
|
}
|
||||||
|
|
||||||
if(getState(stack) == 0)
|
if(getState(stack) == 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue