Continuation of commit 3bd4168
This commit is contained in:
parent
3bd41687dd
commit
2370df4567
2 changed files with 4 additions and 0 deletions
|
@ -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 );
|
||||
|
|
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue