CompatSkills

CompatSkills

8M Downloads

Updating Custom Traits in Script does not work

pupnewfster opened this issue ยท 0 comments

commented

Once a custom trait is registered, restarting MC is unable to adjust the display name, description, or requirements for a given trait (probably the same for custom Skills). I believe this may be able to be fixed by changing the registration so that if an Unlockable is already registered in the Forge Registry with the same name (and maybe under the same skill?) it accesses it and updates the description, name, and requirements with the new values.

ForgeRegistries seem to register by ResourceLocation and given the ResourceLocation is the same it does not update the values of it