From 78704d237740d85ea61e2c9737551e65923c481d Mon Sep 17 00:00:00 2001 From: Vhati Date: Sun, 8 Sep 2013 04:00:18 -0400 Subject: [PATCH] Fixed corruption during patching caused by commit 975fe00 --- src/main/java/net/vhati/modmanager/core/ModPatchThread.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/vhati/modmanager/core/ModPatchThread.java b/src/main/java/net/vhati/modmanager/core/ModPatchThread.java index d5cf5b0..fe407e4 100644 --- a/src/main/java/net/vhati/modmanager/core/ModPatchThread.java +++ b/src/main/java/net/vhati/modmanager/core/ModPatchThread.java @@ -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 );