diff --git a/FightSystem_Core/build.gradle b/FightSystem_Core/build.gradle index b9d32c2..70ac285 100644 --- a/FightSystem_Core/build.gradle +++ b/FightSystem_Core/build.gradle @@ -47,6 +47,6 @@ dependencies { compileOnly 'io.netty:netty-all:4.1.68.Final' compileOnly 'com.mojang:authlib:1.5.25' - compileOnly swdep("WorldEdit-1.15") + compileOnly swdep("FastAsyncWorldEdit-1.18") compileOnly swdep("SpigotCore") } diff --git a/FightSystem_Core/src/de/steamwar/fightsystem/FightSystem.java b/FightSystem_Core/src/de/steamwar/fightsystem/FightSystem.java index 5de02c4..bead0f8 100644 --- a/FightSystem_Core/src/de/steamwar/fightsystem/FightSystem.java +++ b/FightSystem_Core/src/de/steamwar/fightsystem/FightSystem.java @@ -21,6 +21,7 @@ package de.steamwar.fightsystem; import com.comphenix.tinyprotocol.TinyProtocol; import de.steamwar.core.Core; +import de.steamwar.fightsystem.ai.DummyAI; import de.steamwar.fightsystem.ai.LixfelAI; import de.steamwar.fightsystem.commands.*; import de.steamwar.fightsystem.countdown.*; @@ -167,6 +168,14 @@ public class FightSystem extends JavaPlugin { }else if(Config.mode == ArenaMode.PREPARE) { Fight.getUnrotated().setSchem(SchematicNode.getSchematicNode(Config.PrepareSchemID)); } + + //TODO REMOVE PRIOR TO MERGE + FightStatistics.unrank(); + FightWorld.forceLoad(); + Bukkit.getScheduler().runTaskLater(getPlugin(), () -> { + new LixfelAI(Fight.getBlueTeam(), "Lixfel.AI"); + new DummyAI(Fight.getRedTeam(), "public"); + }, 1); } @Override