Skip to content

Commit

Permalink
Phase 3: Fix the location it expects files to be in. Also, directory …
Browse files Browse the repository at this point in the history
…creation appears broken in

spout-dev atm?
  • Loading branch information
Diskmaster committed Sep 4, 2011
1 parent 2877c73 commit b83b69c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/gmail/nossr50/spout/SpoutStuff.java
Expand Up @@ -58,7 +58,7 @@ public static void writeFile(String theFileName, String theFilePath)
//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()];
Expand Down

0 comments on commit b83b69c

Please sign in to comment.