use getActualState()!

This commit is contained in:
Raoul Van den Berge
2015-12-26 03:42:55 +01:00
parent 1ee135376d
commit 31315f8602
5 changed files with 28 additions and 37 deletions

View File

@@ -33,6 +33,12 @@ public abstract class BlockBase extends Block
return "block." + StorageCraft.ID + ":" + name;
}
@Override
public int damageDropped(IBlockState state)
{
return getMetaFromState(state);
}
@Override
public boolean rotateBlock(World world, BlockPos pos, EnumFacing axis)
{