From 5782eb9193499346c3e1dc6b6648352b3a785545 Mon Sep 17 00:00:00 2001 From: Olof Larsson Date: Mon, 9 Sep 2013 19:57:04 +0200 Subject: [PATCH] For those that felt like clearing their config file. --- src/com/massivecraft/mcore/SimpleConfig.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/com/massivecraft/mcore/SimpleConfig.java b/src/com/massivecraft/mcore/SimpleConfig.java index 1caa6447..cd7c8fcb 100644 --- a/src/com/massivecraft/mcore/SimpleConfig.java +++ b/src/com/massivecraft/mcore/SimpleConfig.java @@ -52,6 +52,7 @@ public class SimpleConfig protected static boolean contentRequestsDefaults(String content) { if (content == null) return false; + if (content.length() == 0) return false; char c = content.charAt(0); return c == 'd' || c == 'D'; }