Some of this is not pretty but doing this the VarHandle-less way also got rid of the exception in the console which I didn't seem to do with VarHandles.
Nevertheless, this should make it possible to at least register commands using Paper 1.20.6 build 65 and onwards.
Some of this is not pretty but doing this the VarHandle-less way also got rid of the exception in the console which I didn't seem to do with VarHandles.
Nevertheless, this should make it possible to at least register commands using Paper 1.20.6 build 65 and onwards.
I plan to handle all this properly in #517