Spawn all npc's

This commit is contained in:
Teriuihi 2023-09-22 01:33:21 +02:00
parent 6f8debde93
commit bae943b0d7

View File

@ -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