Add ability to manually force-fix a network using a configurator

This commit is contained in:
Ben Spiers committed 2013-07-29 22:48:12 +01:00
1 parent b01cf3b8f7
commit 30ca7d82d6
1 file changed
+4
@@ -60,6 +60,10 @@ public class ItemConfigurator extends ItemEnergized
return true;
}
}
else if(world.getBlockTileEntity(x, y, z) instanceof IUniversalCable)
{
((IUniversalCable)world.getBlockTileEntity(x, y, z)).fixNetwork();
}
if(getState(stack) == 0)
{