diff --git a/src/main/java/com/alttd/fishingevent/FishingEvent.java b/src/main/java/com/alttd/fishingevent/FishingEvent.java index 9e58dd9..85f6cd0 100644 --- a/src/main/java/com/alttd/fishingevent/FishingEvent.java +++ b/src/main/java/com/alttd/fishingevent/FishingEvent.java @@ -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() {