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

@ -298,4 +298,18 @@ public class LivingArmour implements ILivingArmour
return true;
}
@Override
public boolean removeUpgrade(EntityPlayer user, LivingArmourUpgrade upgrade)
{
String key = upgrade.getUniqueIdentifier();
if (upgradeMap.containsKey(key))
{
upgradeMap.remove(key);
return true;
}
return false;
}
}