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 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
|
@Override
|
||||||
public int getMetaFromState( final IBlockState state )
|
public int getMetaFromState( final IBlockState state )
|
||||||
{
|
{
|
||||||
return (int) state.getValue( ENERGY_STORAGE );
|
return state.getValue( ENERGY_STORAGE );
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue