Fixed Config Registration Crash
The /sethome, /home, and /delhome commands were crashing with "An unexpected error happened when executing that command" because the ModConfigSpec was built but never registered with the mod loading context.
This version fixes the issue by properly registering the config spec (ModLoadingContext.get().getActiveContainer().registerConfig(...)) in the mod constructor, so MAX_HOMES.get() works correctly at runtime.
Bug: NullPointerException on every /sethome, /home, /delhome command
Fix: Register ModConfigSpec in constructor
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }