If you still prefer using Bukkit’s OOP Listeners over Lambda Listeners, then you must be tired of registering them all manually.
Catalyst offers a method to register all Listener classes for you, this also must be called in your plugin’s onEnable()!
Catalyst.events.load(String package)
Catalyst.events.load(”com.reigindustries.catalystexample.listeners”);public class CatalystExample extends JavaPlugin {
@Override
public void onEnable() {
Catalyst.init(this);
Catalyst.events().load("com.reigindustries.catalystexample.listeners");
}
}