Continuation of commit 3bd4168

This commit is contained in:
Vhati 2014-09-27 02:55:46 -04:00
parent 3bd41687dd
commit 2370df4567
2 changed files with 4 additions and 0 deletions

View file

@ -29,6 +29,7 @@ public interface ModPatchObserver {
/**
* Patching ended.
*
* If anything went wrong, e may be non-null.
*/
public void patchingEnded( boolean outcome, Exception e );

View file

@ -461,6 +461,9 @@ public class ModUtilities {
boolean isTxt = innerPath.matches( "^.*(?:[.]txt)$" );
boolean isXML = innerPath.matches( "^.*(?:[.]xml[.]append|[.]append[.]xml|[.]xml)$" );
boolean isXMLAppend = innerPath.matches( "^.*(?:[.]xml[.]append|[.]append[.]xml)$" );
if ( innerPath.matches( "^.*(?:[.]xml[.]rawappend|[.]rawappend[.]xml)$" ) ) {
isXML = false; // Raw xml is exempt from normal processing.
}
DecodeResult decodeResult = ModUtilities.decodeText( zis, modFile.getName()+":"+innerPath );