More intelligently detect Electricity Meter's active state.
The block should be in active state when outputting energy from the internal storage.
When the block is not outputting energy and the storage's energy amount is 0 the block should be in inactive state.
To insure tha the block don't get stuck in active state when the energy amount is greater than 0 and no cable is connected to the output direction we should check that too. If there is no TileEntity in the output direction we set the block in inactive state.
More intelligently detect Electricity Meter's active state.
The block should be in active state when outputting energy from the internal storage.
When the block is not outputting energy and the storage's energy amount is 0 the block should be in inactive state.
To insure tha the block don't get stuck in active state when the energy amount is greater than 0 and no cable is connected to the output direction we should check that too. If there is no TileEntity in the output direction we set the block in inactive state.