SteamWar/FightSystem
Archiviert
13
1

Hotfix player join not recognized

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2020-11-02 18:07:09 +01:00
Ursprung 3147783ef8
Commit fc1400a73a

Datei anzeigen

@ -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()){