From fc1400a73a203e1b389c7e434864380137a7cd93 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Mon, 2 Nov 2020 18:07:09 +0100 Subject: [PATCH] Hotfix player join not recognized Signed-off-by: Lixfel --- .../src/de/steamwar/fightsystem/FightSystem.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/FightSystem_Main/src/de/steamwar/fightsystem/FightSystem.java b/FightSystem_Main/src/de/steamwar/fightsystem/FightSystem.java index 7394a12..8ad4146 100644 --- a/FightSystem_Main/src/de/steamwar/fightsystem/FightSystem.java +++ b/FightSystem_Main/src/de/steamwar/fightsystem/FightSystem.java @@ -32,7 +32,10 @@ import de.steamwar.fightsystem.record.RecordSystem; import de.steamwar.fightsystem.record.Recorder; import de.steamwar.fightsystem.states.FightState; import de.steamwar.fightsystem.states.StateDependent; -import de.steamwar.fightsystem.utils.*; +import de.steamwar.fightsystem.utils.EnterHandler; +import de.steamwar.fightsystem.utils.FightScoreboard; +import de.steamwar.fightsystem.utils.FightStatistics; +import de.steamwar.fightsystem.utils.TechHider; import de.steamwar.fightsystem.winconditions.*; import de.steamwar.sql.EventFight; import de.steamwar.sql.Schematic; @@ -68,6 +71,7 @@ public class FightSystem extends JavaPlugin { KitManager.loadAllKits(); TechHider.init(); FightScoreboard.init(); + RecordSystem.init(); try { CommandRemover.removeAll("gamemode"); @@ -132,7 +136,6 @@ public class FightSystem extends JavaPlugin { Objects.requireNonNull(getCommand("ready")).setExecutor(new EventDummyCommand()); Objects.requireNonNull(getCommand("ak")).setExecutor(new EventDummyCommand()); Objects.requireNonNull(getCommand("leader")).setExecutor(new EventDummyCommand()); - RecordSystem.init(); setPreSchemState(); }else if(Config.test()){