diff --git a/src/main/java/com/minelittlepony/unicopia/Unicopia.java b/src/main/java/com/minelittlepony/unicopia/Unicopia.java index 4ecf28b8..f7ebde78 100644 --- a/src/main/java/com/minelittlepony/unicopia/Unicopia.java +++ b/src/main/java/com/minelittlepony/unicopia/Unicopia.java @@ -48,7 +48,11 @@ public class Unicopia implements ModInitializer { public static Config getConfig() { if (CONFIG == null) { CONFIG = new Config(); - CONFIG.load(); + try { + CONFIG.load(); + } catch (IllegalStateException ignored) { + CONFIG.save(); + } } return CONFIG; }