Closed p0t4t0sandwich closed 8 months ago
Forgot to tag it in the commit, but I was able to use an access widener to grab the command dispatcher when the server is in it's starting phase. All that's left to do now is implement a workaround for SpongeForge. Considering the possibility of adding the brig event to the ServerStartingEvent mixin to see if it behaves as expected.
In a Forge env, depend on Forge, then use a helper class to register the command register event/ In a Vanilla env, cast to Sponge's underlying implementation and grab the necessary stuff from there