From 01d759844267720e68ce0e63a7f634c14380fd3f Mon Sep 17 00:00:00 2001 From: Daniel Saukel Date: Sat, 23 Jul 2016 01:02:49 +0200 Subject: [PATCH] Check if .raw exists --- .../main/java/io/github/dre2n/dungeonsxl/world/DWorlds.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/io/github/dre2n/dungeonsxl/world/DWorlds.java b/core/src/main/java/io/github/dre2n/dungeonsxl/world/DWorlds.java index d546b28c..d8dba9ff 100644 --- a/core/src/main/java/io/github/dre2n/dungeonsxl/world/DWorlds.java +++ b/core/src/main/java/io/github/dre2n/dungeonsxl/world/DWorlds.java @@ -49,7 +49,9 @@ public class DWorlds { } } - createRaw(); + if (!RAW.exists()) { + createRaw(); + } } /* Getters and setters */