Register GUI listener
This commit is contained in:
parent
b79540e317
commit
31b3cc69e4
|
|
@ -6,6 +6,7 @@ import com.alttd.fishingevent.config.Fishes;
|
|||
import com.alttd.fishingevent.config.Messages;
|
||||
import com.alttd.fishingevent.config.NPCLocationConfig;
|
||||
import com.alttd.fishingevent.fish_generator.WaterFishGenerator;
|
||||
import com.alttd.fishingevent.gui.GUIListener;
|
||||
import com.alttd.fishingevent.listeners.CatchFish;
|
||||
import com.alttd.fishingevent.npc.NPCManager;
|
||||
import com.alttd.fishingevent.points.PointsManagement;
|
||||
|
|
@ -49,6 +50,7 @@ public final class FishingEvent extends JavaPlugin {
|
|||
|
||||
private void registerEvents(@NotNull PluginManager pluginManager) {
|
||||
pluginManager.registerEvents(new CatchFish(logger, new WaterFishGenerator(Fishes.WATER_FISH.RARITY_FISH_MAP, logger), PointsManagement.getInstance()), this);
|
||||
pluginManager.registerEvents(new GUIListener(), this);
|
||||
}
|
||||
|
||||
private void registerCommands() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user