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

This commit is contained in:
Ben Spiers 2013-07-29 04:57:56 +01:00
parent b01cf3b8f7
commit 30ca7d82d6

View file

@ -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)
{