From 24056df78acf0fe310fe8362db399cd3ead9b953 Mon Sep 17 00:00:00 2001 From: zml2008 Date: Sun, 2 Oct 2011 01:27:52 -0700 Subject: [PATCH] Fixed config generation for Windows users --- src/main/java/com/sk89q/worldedit/bukkit/WorldEditPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sk89q/worldedit/bukkit/WorldEditPlugin.java b/src/main/java/com/sk89q/worldedit/bukkit/WorldEditPlugin.java index 6d817ea6b..0b96d3048 100644 --- a/src/main/java/com/sk89q/worldedit/bukkit/WorldEditPlugin.java +++ b/src/main/java/com/sk89q/worldedit/bukkit/WorldEditPlugin.java @@ -178,7 +178,7 @@ public class WorldEditPlugin extends JavaPlugin { null; try { JarFile file = new JarFile(getFile()); - ZipEntry copy = file.getEntry("defaults" + File.separator + name); + ZipEntry copy = file.getEntry("defaults/" + name); if (copy == null) throw new FileNotFoundException(); input = file.getInputStream(copy); } catch (IOException e) {