Closed aeonic-dev closed 2 years ago
Thank you 2 so much for this PR @Matyrobbrt and @aeonic-dev! I will review and merge this PR tonight or tomorrow before I start working on the 1.19 upgrade.
Again, thank you 2 so much!
Great to hear from you! No problem, we're happy to help. Thank you for your work and for keeping this mod open source!
Happy to help man! I do have a few other changes I want to make that I took note of, but to make your job easier I'll wait till there's a more solid 1.19 branch before I make another PR. Thanks again for your work!
This PR fixes references to
Minecraft#getInstance
in common code with a full rewrite ofPlayerEventHandlers
(nowClientTickEventHandlers
), using static methods and the@EventBusSubscriber
notation to ensure it's only loaded on the client. We also move config checks for ActionTypes to theActionType
class for simplicity and replace the previously static config values with instance fields.Sponsored (unexpectedly) by the Modding Inquisition.