mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-04 02:53:43 +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:
		@@ -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()];
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user