Oheers / EvenMoreFish

An advanced fishing plugin based on MoreFish, created 2 years after its last update.
MIT License
91 stars 56 forks source link

Turn RewardManager into a Listener #308

Closed FireML closed 3 months ago

FireML commented 3 months ago

Fixes this error:

[09:15:37 ERROR]: [EvenMoreFish] Failed to register events for class com.oheers.fish.EvenMoreFish because com/sk89q/worldguard/bukkit/WorldGuardPlugin does not exist.

It was caused by the main class being registered as a listener, so I moved the listener part to the RewardManager class.

FireML commented 3 months ago

I also ran IntelliJ's optimize imports on the whole project, which is why there are so many changed files.