Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-03 01:50:07 +01:00
fix typo
Dieser Commit ist enthalten in:
Ursprung
39e1026400
Commit
dcee873b57
@ -438,11 +438,9 @@ public class WorldEditPlugin extends JavaPlugin { //implements TabCompleter
|
|||||||
protected void createDefaultConfiguration(String name) {
|
protected void createDefaultConfiguration(String name) {
|
||||||
File actual = new File(getDataFolder(), name);
|
File actual = new File(getDataFolder(), name);
|
||||||
if (!actual.exists()) {
|
if (!actual.exists()) {
|
||||||
try {
|
try (InputStream stream = getResource("defaults/" + name)) {
|
||||||
try (InputStream stream = getResource("defaults/" + name)) {
|
if (stream == null) throw new FileNotFoundException();
|
||||||
if (stream == null) throw new FileNotFoundException();
|
copyDefaultConfig(stream, actual, name);
|
||||||
copyDefaultConfig(stream, actual, name);
|
|
||||||
}
|
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
getLogger().severe("Unable to read default configuration: " + name);
|
getLogger().severe("Unable to read default configuration: " + name);
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren