bivashy/MC-Auth-with-Link

Velocity builtin events not working

Closed this issue · 0 comments

Stack trace:

[19:42:44 ERROR]: Couldn't pass ProxyInitializeEvent to mcauth
java.lang.IllegalArgumentException: Unsupported api 589824
        at org.objectweb.asm.MethodVisitor.<init>(MethodVisitor.java:82) ~[velocity.jar:3.2.0-SNAPSHOT (git-6a125bd0-b247)]
        at io.github.revxrsal.eventbus.asm.LocalVariablesSorter.<init>(LocalVariablesSorter.java:102) ~[?:?]
        at io.github.revxrsal.eventbus.asm.GeneratorAdapter.<init>(GeneratorAdapter.java:274) ~[?:?]
        at io.github.revxrsal.eventbus.asm.GeneratorAdapter.<init>(GeneratorAdapter.java:250) ~[?:?]
        at io.github.revxrsal.eventbus.asm.GeneratorAdapter.newMethodGenerator(GeneratorAdapter.java:1495) ~[?:?]
        at io.github.revxrsal.eventbus.asm.GeneratorAdapter.writeConstructor(GeneratorAdapter.java:1499) ~[?:?]
        at io.github.revxrsal.eventbus.asm.ASMEventListenerGen.generateListener(ASMEventListenerGen.java:28) ~[?:?]
        at io.github.revxrsal.eventbus.asm.ASMEventBus.createEventListener(ASMEventBus.java:22) ~[?:?]
        at io.github.revxrsal.eventbus.base.BaseEventBus.register(BaseEventBus.java:110) ~[?:?]
        at me.mastercapexd.auth.BaseAuthPlugin.initializeBasic(BaseAuthPlugin.java:131) ~[?:?]
        at me.mastercapexd.auth.BaseAuthPlugin.<init>(BaseAuthPlugin.java:98) ~[?:?]
        at me.mastercapexd.auth.velocity.VelocityAuthPluginBootstrap.onProxyInitialize(VelocityAuthPluginBootstrap.java:54) ~[?:?]
        at me.mastercapexd.auth.velocity.Lmbda$5.execute(Unknown Source) ~[?:?]

Version: 1.7.0-RC5

Using velocity.

I think just using methodhandle for eventbus instead of asm will fix this issue