Magic

Magic

190k Downloads

AureliumSkills 2.0 (AuraSkills) has a new API and mana won't work with Magic

Airijko opened this issue ยท 1 comments

commented

AureliumSkills 2.0 is using a new API which means using the mana enable command in Magic for Aurelium won't sync up anymore

/mconfig config aurelium_skills.use_mana true
^ this doesn't work anymore

commented

Was looking into this and was wondering why I couldn't get it working... yup, the it'd be new name/API.

It looks like all it would take would be to update a few imports in these two files:

https://github.com/elBukkit/MagicPlugin/blob/master/Magic/src/main/java/com/elmakers/mine/bukkit/integration/AureliumSkillCurrency.java
https://github.com/elBukkit/MagicPlugin/blob/master/Magic/src/main/java/com/elmakers/mine/bukkit/integration/AureliumSkillsManager.java

... with the new API package names here:

https://docs.aurelium.dev/auraskills-api-bukkit/

I don't touch Java much, and don't have a dev environment setup for it... but might fork this and try it out to see if it'd be that simple and toss it in as a Pull Request in a few days. It looks relatively straightforward.