Fixed corruption during patching caused by commit 975fe00

This commit is contained in:
Vhati 2013-09-08 04:00:18 -04:00
parent d5b157e35c
commit 78704d2377

View file

@ -237,7 +237,7 @@ public class ModPatchThread extends Thread {
moddedItems.add( innerPath );
}
}
if ( fileName.endsWith( ".xml" ) ) {
else if ( fileName.endsWith( ".xml" ) ) {
innerPath = checkCase( innerPath, knownPaths, knownPathsLower );
InputStream fixedStream = ModUtilities.rebuildXMLFile( zis, "windows-1252", modFile.getName()+":"+parentPath+fileName );