Skip to content

Commit

Permalink
Fixed an issue that would sometimes cause map data to not be written.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pokechu22 committed Aug 22, 2015
1 parent ea46b12 commit c5cd57c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/wdl/WDL.java
Original file line number Diff line number Diff line change
Expand Up @@ -1125,6 +1125,8 @@ public static void saveMapData(GuiWDLSaveProgress progressScreen) {

File dataDirectory = new File(saveHandler.getWorldDirectory(),
"data");
dataDirectory.mkdirs();

progressScreen.startMajorTask("Saving map item data", newMapDatas.size());

chatDebug(WDLDebugMessageCause.SAVING, "Saving map data...");
Expand Down

0 comments on commit c5cd57c

Please sign in to comment.