From bae943b0d7a07f7e47f43af914f5ee4d66befcc6 Mon Sep 17 00:00:00 2001 From: Teriuihi Date: Fri, 22 Sep 2023 01:33:21 +0200 Subject: [PATCH] Spawn all npc's --- src/main/java/com/alttd/fishingevent/FishingEvent.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/alttd/fishingevent/FishingEvent.java b/src/main/java/com/alttd/fishingevent/FishingEvent.java index ee13d9d..deccac2 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.fish_generator.WaterFishGenerator; import com.alttd.fishingevent.listeners.CatchFish; +import com.alttd.fishingevent.npc.NPCManager; import com.alttd.fishingevent.points.PointsManagement; import com.alttd.fishingevent.util.Logger; import org.bukkit.plugin.PluginManager; @@ -23,6 +24,7 @@ public final class FishingEvent extends JavaPlugin { //add a way to stop and start the fishing event and a way to stop all fishing (so 3 modes normal, active, disabled) reloadFishConfigs(); registerCommands(); + NPCManager.spawnNPCs(this, logger); } @Override