Made all block fields final
This commit is contained in:
parent
f244f2c053
commit
537ccc092c
25 changed files with 242 additions and 254 deletions
|
@ -153,7 +153,7 @@ public class ItemRitualDiviner extends Item implements IVariantProvider
|
|||
return false;
|
||||
}
|
||||
int meta = component.getRuneType().ordinal();
|
||||
IBlockState newState = ModBlocks.ritualStone.getStateFromMeta(meta);
|
||||
IBlockState newState = ModBlocks.RITUAL_STONE.getStateFromMeta(meta);
|
||||
world.setBlockState(newPos, newState);
|
||||
return true;
|
||||
} else
|
||||
|
@ -212,7 +212,7 @@ public class ItemRitualDiviner extends Item implements IVariantProvider
|
|||
if (item instanceof ItemBlock)
|
||||
{
|
||||
Block block = ((ItemBlock) item).getBlock();
|
||||
if (block == ModBlocks.ritualStone)
|
||||
if (block == ModBlocks.RITUAL_STONE)
|
||||
{
|
||||
newStack.stackSize--;
|
||||
if (newStack.stackSize <= 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue