kangarko / Foundation

Foundation™ helps you create highly customized Minecraft plugins (based on Spigot/Paper API) that support multiple MC versions.
https://mineacademy.org
337 stars 62 forks source link

Added "removePacketListener" to ProtocolLib hook in HookManager #235

Closed Supermrk closed 1 year ago

Supermrk commented 1 year ago

This method is useful to remove an already registered PacketAdapter packet listener from ProtocolLib.

Supermrk commented 1 year ago

Also, I think my IDE added some

tags to various comments. If that's an issue, let me know and I can fix it.

broken1arrow commented 1 year ago

Also, I think my IDE added some

tags to various comments. If that's an issue, let me know and I can fix it.

You should only make a pull with your changes, not reformat most of the class. You also change the imports (looks like all of the imports is changed).