WIP: split up config #13
@ -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");
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren