mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-24 17:47:44 +01:00
Phase 3: Fix the location it expects files to be in. Also, directory creation appears broken in
spout-dev atm?
This commit is contained in:
parent
2877c733d5
commit
b83b69c7ff
@ -58,7 +58,7 @@ public class SpoutStuff
|
||||
//System.out.println(theFileName);
|
||||
@SuppressWarnings("static-access")
|
||||
JarFile jar = new JarFile(plugin.mcmmo);
|
||||
JarEntry entry = jar.getJarEntry(theFileName);
|
||||
JarEntry entry = jar.getJarEntry("resources/"+theFileName);
|
||||
InputStream is = jar.getInputStream(entry);
|
||||
FileOutputStream os = new FileOutputStream(currentFile);
|
||||
byte[] buf = new byte[(int)entry.getSize()];
|
||||
|
Loading…
Reference in New Issue
Block a user