-
-
Notifications
You must be signed in to change notification settings - Fork 258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
having problem with protocolManager is null #2927
Comments
Because I'm trying to connect dependencies with Protocol, my code is just that simple, it has all the libraries added (it doesn't error libraries or codes). I just declare a ProtocolManager and run it in onEnable. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
com.comphenix.protocol
ProtocolLib
5.1.0
4. Here my code:
5. This is an error on the console:
6. This is the line that reports the error in the code, as I understand it:
protocolManager.addPacketListener(new PacketAdapter(this, PacketType.Handshake.Client.SET_PROTOCOL) {}
Please guide me how to fix this error. I'm new to programming minecraft plugins, please guide me. Thank people!
The text was updated successfully, but these errors were encountered: