GIVEMYTHICEXPERIENCE mechanic fails to load due to null ArchetypeManager during initialization
When starting the server, MythicRPG throws a NullPointerException because MythicRPG.getArchetypeManager() returns null while the GiveExperienceMechanic is being constructed. This prevents the GIVEMYTHICEXPERIENCE mechanic from loading. Steps to Reproduce:
- Install MythicMobs Premium 5.10.1-SNAPSHOT and MythicRPG 0.0.1-SNAPSHOT
- Start the server
- Observe the console during plugin enable Expected Behavior: The GIVEMYTHICEXPERIENCE mechanic should register successfully once the ArchetypeManager is initialized. Actual Behavior: The mechanic fails to load with a NullPointerException. Relevant Stacktrace (excerpt): Caused by: java.lang.NullPointerException: Cannot invoke "io.lumine.mythicrpg.archetypes.ArchetypeManager.getArchetype(String)" because the return value of "io.lumine.mythicrpg.MythicRPG.getArchetypeManager()" is null at io.lumine.mythicrpg.skills.mechanics.GiveExperienceMechanic.(GiveExperienceMechanic.java:35)