Made all block fields final

This commit is contained in:
Nicholas Ignoffo 2016-09-10 16:13:20 -07:00
parent f244f2c053
commit 537ccc092c
25 changed files with 242 additions and 254 deletions

View file

@ -110,7 +110,7 @@ public class EntityMimic extends EntityDemonBase
{
if (world.isAirBlock(pos))
{
IBlockState mimicState = ModBlocks.mimic.getStateFromMeta(BlockMimic.sentientMimicMeta);
IBlockState mimicState = ModBlocks.MIMIC.getStateFromMeta(BlockMimic.sentientMimicMeta);
world.setBlockState(pos, mimicState, 3);
TileEntity tile = world.getTileEntity(pos);
if (tile instanceof TileMimic)

View file

@ -107,7 +107,7 @@ public class EntityBloodLight extends EntityThrowable implements IThrowableEntit
if (worldObj.isAirBlock(blockPos))
{
worldObj.setBlockState(blockPos, ModBlocks.bloodLight.getDefaultState());
worldObj.setBlockState(blockPos, ModBlocks.BLOOD_LIGHT.getDefaultState());
}
}