From e7aa563352f7d8d6d9c94270952088792925f6a0 Mon Sep 17 00:00:00 2001 From: "main()" Date: Sun, 16 Oct 2011 15:29:09 +0200 Subject: [PATCH] Revert "Fix startup error on Windows." This reverts commit 01bed7cc4b5a48fef1e1354f53e064309b249f5c. Because that commit CAUSED a startup error instead of fixing one. --- .../java/com/onarandombox/MultiverseCore/MultiverseCore.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/onarandombox/MultiverseCore/MultiverseCore.java b/src/main/java/com/onarandombox/MultiverseCore/MultiverseCore.java index feb788d2..6dd77c9b 100644 --- a/src/main/java/com/onarandombox/MultiverseCore/MultiverseCore.java +++ b/src/main/java/com/onarandombox/MultiverseCore/MultiverseCore.java @@ -256,7 +256,7 @@ public class MultiverseCore extends JavaPlugin implements MVPlugin, Core { public void loadConfigs() { // Now grab the Configuration Files. this.multiverseConfig = YamlConfiguration.loadConfiguration(new File(getDataFolder(), "config.yml")); - Configuration coreDefaults = YamlConfiguration.loadConfiguration(this.getClass().getResourceAsStream(File.separator + "defaults" + File.separator + "config.yml")); + Configuration coreDefaults = YamlConfiguration.loadConfiguration(this.getClass().getResourceAsStream("/defaults/config.yml")); this.multiverseConfig.setDefaults(coreDefaults); this.multiverseConfig.options().copyDefaults(true); this.worldManager.loadWorldConfig(new File(getDataFolder(), "worlds.yml"));