mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
removed save of unpacked quest data
This commit is contained in:
@@ -122,9 +122,9 @@ public class QuestDataIO {
|
||||
if (gearLevel == 2) {
|
||||
newData.inventory.setItemLevel("Zeppelin", 1);
|
||||
}
|
||||
break;
|
||||
|
||||
// fall-through
|
||||
case 1:
|
||||
// nothing to do here, everything is managed by CardPoolToXml deserializer
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
@@ -156,10 +156,10 @@ public class QuestDataIO {
|
||||
zout.flush();
|
||||
zout.close();
|
||||
|
||||
BufferedOutputStream boutUnp = new BufferedOutputStream(new FileOutputStream(f + ".xml"));
|
||||
xStream.toXML(qd, boutUnp);
|
||||
boutUnp.flush();
|
||||
boutUnp.close();
|
||||
//BufferedOutputStream boutUnp = new BufferedOutputStream(new FileOutputStream(f + ".xml"));
|
||||
//xStream.toXML(qd, boutUnp);
|
||||
//boutUnp.flush();
|
||||
//boutUnp.close();
|
||||
|
||||
} catch (Exception ex) {
|
||||
ErrorViewer.showError(ex, "Error saving Quest Data.");
|
||||
|
||||
Reference in New Issue
Block a user