Improved the API and internal workings
Update things Fix some more things Update once more Refactoring and removing unnecessary null checks Woops Fix Nother fix Moar fix Fix imports Update ItemBindable.java
This commit is contained in:
parent
0a2dfb4fd4
commit
3e50dd4117
28 changed files with 389 additions and 340 deletions
|
@ -4,7 +4,7 @@ import WayofTime.bloodmagic.api.Constants;
|
|||
import WayofTime.bloodmagic.api.livingArmour.LivingArmourUpgrade;
|
||||
import WayofTime.bloodmagic.api.livingArmour.StatTracker;
|
||||
import WayofTime.bloodmagic.api.ritual.*;
|
||||
import WayofTime.bloodmagic.item.ItemUpgradeTome;
|
||||
import WayofTime.bloodmagic.api.util.helper.ItemHelper.LivingUpgrades;
|
||||
import WayofTime.bloodmagic.item.armour.ItemLivingArmour;
|
||||
import WayofTime.bloodmagic.livingArmour.LivingArmour;
|
||||
import WayofTime.bloodmagic.registry.ModItems;
|
||||
|
@ -66,8 +66,8 @@ public class RitualUpgradeRemove extends Ritual
|
|||
String upgradeKey = entry.getKey();
|
||||
|
||||
ItemStack upgradeStack = new ItemStack(ModItems.upgradeTome);
|
||||
ItemUpgradeTome.setKey(upgradeStack, upgradeKey);
|
||||
ItemUpgradeTome.setLevel(upgradeStack, upgrade.getUpgradeLevel());
|
||||
LivingUpgrades.setKey(upgradeStack, upgradeKey);
|
||||
LivingUpgrades.setLevel(upgradeStack, upgrade.getUpgradeLevel());
|
||||
|
||||
boolean successful = armour.removeUpgrade(player, upgrade);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue