removed save of unpacked quest data

This commit is contained in:
Maxmtg
2011-09-02 09:41:10 +00:00
parent 67cf33d550
commit f255d38e24

View File

@@ -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.");