Spawn all npc's
This commit is contained in:
@@ -6,6 +6,7 @@ import com.alttd.fishingevent.config.Fishes;
|
|||||||
import com.alttd.fishingevent.config.Messages;
|
import com.alttd.fishingevent.config.Messages;
|
||||||
import com.alttd.fishingevent.fish_generator.WaterFishGenerator;
|
import com.alttd.fishingevent.fish_generator.WaterFishGenerator;
|
||||||
import com.alttd.fishingevent.listeners.CatchFish;
|
import com.alttd.fishingevent.listeners.CatchFish;
|
||||||
|
import com.alttd.fishingevent.npc.NPCManager;
|
||||||
import com.alttd.fishingevent.points.PointsManagement;
|
import com.alttd.fishingevent.points.PointsManagement;
|
||||||
import com.alttd.fishingevent.util.Logger;
|
import com.alttd.fishingevent.util.Logger;
|
||||||
import org.bukkit.plugin.PluginManager;
|
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)
|
//add a way to stop and start the fishing event and a way to stop all fishing (so 3 modes normal, active, disabled)
|
||||||
reloadFishConfigs();
|
reloadFishConfigs();
|
||||||
registerCommands();
|
registerCommands();
|
||||||
|
NPCManager.spawnNPCs(this, logger);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user