forked from SteamWar/SteamWar
Fix nit picks
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
*
|
||||
* This file is a part of the SteamWar software.
|
||||
*
|
||||
* Copyright (C) 2020 SteamWar.de-Serverteam
|
||||
* Copyright (C) 2024 SteamWar.de-Serverteam
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as published by
|
||||
|
||||
@@ -39,7 +39,7 @@ public class Config {
|
||||
public static final int GAME_TIMER;
|
||||
public static final int GAME_ESCAPE_TIMER;
|
||||
|
||||
private static final int EventKampfID;
|
||||
private static final int EVENT_KAMPF_ID;
|
||||
|
||||
static {
|
||||
File configFile = new File(TowerRun.getInstance().getDataFolder(), "config.yml");
|
||||
@@ -56,10 +56,10 @@ public class Config {
|
||||
GAME_ESCAPE_TIMER = config.getInt("gameEscapeTimer", 60);
|
||||
DESTROYABLE_BLOCKS = EnumSet.copyOf(config.getStringList("destroyable").stream().map(Material::valueOf).collect(Collectors.toSet()));
|
||||
|
||||
EventKampfID = Integer.parseInt(System.getProperty("fightID", "0"));
|
||||
EVENT_KAMPF_ID = Integer.parseInt(System.getProperty("fightID", "0"));
|
||||
}
|
||||
|
||||
public static boolean test() {
|
||||
return EventKampfID == -1;
|
||||
return EVENT_KAMPF_ID == -1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user