Added Ritual: Song of the Cleansing Soul to remove Living Armour upgrades from the armour.

This commit is contained in:
WayofTime 2016-02-15 15:27:39 -05:00
parent b5c8c2242a
commit 7610329d0a
12 changed files with 256 additions and 65 deletions

View file

@ -89,7 +89,7 @@ public class BlockRitualController extends BlockStringContainer
TileEntity tile = world.getTileEntity(pos);
IBlockState state = world.getBlockState(pos);
if (getMetaFromState(state) == 0 && tile instanceof TileMasterRitualStone)
if (state.getBlock() == this && getMetaFromState(state) == 0 && tile instanceof TileMasterRitualStone)
((TileMasterRitualStone) tile).stopRitual(Ritual.BreakType.EXPLOSION);
}