@EventHandler
	public void keepLightsStable(BlockRedstoneEvent event)
	{
		if (event.getBlock().getType().equals(MachineFactoryPlugin.LIGHT_ON) || event.getBlock().getType().equals(MachineFactoryPlugin.LIGHT_OFF))
		{
			if (oreGinMan.oreGinLightExistsAt(event.getBlock().getLocation()))
			{
				if (((OreGin)oreGinMan.getMachine(event.getBlock().getRelative(BlockFace.DOWN).getLocation())).getMining())
				{
					event.setNewCurrent(1);
				}
				else if (!((OreGin)oreGinMan.getMachine(event.getBlock().getRelative(BlockFace.DOWN).getLocation())).getBroken())
				{
					event.setNewCurrent(0);
				}
			}	
		}						
	}