Added '--global-panic' commandline arg
This commit is contained in:
parent
60971d4abe
commit
2bf3860cbc
8 changed files with 49 additions and 10 deletions
|
@ -818,7 +818,7 @@ public class ManagerFrame extends JFrame implements ActionListener, HashObserver
|
|||
log.info( "" );
|
||||
log.info( "Patching..." );
|
||||
log.info( "" );
|
||||
ModPatchThread patchThread = new ModPatchThread( modFiles, dataDat, resDat, patchDlg );
|
||||
ModPatchThread patchThread = new ModPatchThread( modFiles, dataDat, resDat, false, patchDlg );
|
||||
patchThread.start();
|
||||
|
||||
patchDlg.setVisible( true );
|
||||
|
|
|
@ -373,6 +373,7 @@ public class ModXMLSandbox extends JFrame implements ActionListener {
|
|||
Document appendDoc = ModUtilities.parseStrictOrSloppyXML( appendText, "Sandbox Append XML" );
|
||||
|
||||
XMLPatcher patcher = new XMLPatcher();
|
||||
patcher.setGlobalPanic( false );
|
||||
Document resultDoc = patcher.patch( mainDoc, appendDoc );
|
||||
|
||||
StringWriter writer = new StringWriter();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue