BlueTree242 / AdvancedPlHide

A plugin that allows you to remove parts of tab completion and hide plugins from the tabcompleter!
GNU General Public License v3.0
9 stars 4 forks source link

Bungeecord config error & "pl_message" config fix #10

Closed NathanFAIN closed 1 year ago

NathanFAIN commented 1 year ago

There is a problem with the bungeecord plugin. It's impossible to load the config file because 2 instances of Impl are created instead of one. I just replaced the line PlatformPlugin.setPlatform(new Impl()); with PlatformPlugin.setPlatform(platformPlugin);.

I also modified the "pl_message". If the message is empty (pl_message().isEmpty()) I decide to send nothing to the player (instead of sending an empty message).

Let me know if you have any questions. Hopefully my changes will be helpful.

BlueTree242 commented 1 year ago

I've changed base branch to develop because i don't accept any pull requests on master, however GitHub messed up the version in gradle.properties please push a new commit that updates version back to 2.4-DEV and i will merge this pull request

NathanFAIN commented 1 year ago

Done

BlueTree242 commented 1 year ago

Thank you. You are now a contributor to AdvancedPlHide!