Fixed config generation for Windows users

This commit is contained in:
zml2008 2011-10-02 01:27:52 -07:00
parent b17fb7eaa3
commit 24056df78a

View File

@ -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) {