Fixing Pathbug
Dieser Commit ist enthalten in:
Ursprung
e626bf5ab0
Commit
9ad5512c13
@ -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