mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-20 02:45:00 +00:00
Fixed config generation for Windows users
This commit is contained in:
parent
b17fb7eaa3
commit
24056df78a
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user