Adding new golem traits in existing worlds will cause issues
IcarussOne opened this issue ยท 0 comments
Mainly caused by using the Forge enum helper to inject traits and the GolemProperties#getMaterial() crashing due to an IndexoutOfBounds exception.
Instead of defining the golem trait opposites in the enum, it defines them though static fields. This results in the GolemProperties#getMaterial() referencing traits that do not exist.
This only seems to occur in existing worlds.