Energy Cell fill property had incorrect range (Fixes #10)
This commit is contained in:
parent
73b9e83b9f
commit
99b73957c1
|
@ -40,12 +40,12 @@ import appeng.util.Platform;
|
|||
public class BlockEnergyCell extends AEBaseTileBlock
|
||||
{
|
||||
|
||||
public static final PropertyInteger ENERGY_STORAGE = PropertyInteger.create( "fullness", 0, 8 );
|
||||
public static final PropertyInteger ENERGY_STORAGE = PropertyInteger.create( "fullness", 0, 7 );
|
||||
|
||||
@Override
|
||||
public int getMetaFromState( final IBlockState state )
|
||||
{
|
||||
return (int) state.getValue( ENERGY_STORAGE );
|
||||
return state.getValue( ENERGY_STORAGE );
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue