Added damage boost and attack speed penalty for the Destructive sentient armour

This commit is contained in:
WayofTime 2016-03-31 12:37:39 -04:00
parent d7191d9f2e
commit b1a532950d
3 changed files with 76 additions and 3 deletions

View file

@ -258,6 +258,16 @@ public class ItemSoulGem extends Item implements IDemonWillGem, IMeshProvider, I
NBTTagCompound tag = soulGemStack.getTagCompound();
if (type == EnumDemonWillType.DEFAULT)
{
if (tag.hasKey(Constants.NBT.WILL_TYPE))
{
tag.removeTag(Constants.NBT.WILL_TYPE);
}
return;
}
tag.setString(Constants.NBT.WILL_TYPE, type.toString());
}