SteamWar/FightSystem
Archiviert
13
1
Dieser Commit ist enthalten in:
Travis CI 2019-06-14 11:35:08 +02:00
Ursprung e626bf5ab0
Commit 9ad5512c13

Datei anzeigen

@ -95,7 +95,7 @@ public class Config {
Bukkit.shutdown();
}
FileConfiguration config = FightSystem.getPlugin().getConfig();
YamlConfiguration worldconfig = YamlConfiguration.loadConfiguration(new File("plugins/" + FightSystem.getPlugin().getName() + "/config.yml"));
YamlConfiguration worldconfig = YamlConfiguration.loadConfiguration(new File(Bukkit.getWorldContainer().getPath() + Bukkit.getWorlds().get(0) + "/config.yml"));
NoPlayerOnlineDuration = config.getInt("Times.NoPlayersOnlineDuration");
SetupDuration = config.getInt("Times.SetupDuration");