diff --git a/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Helper/OldFileUpdater.java b/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Helper/OldFileUpdater.java index 73d5800..018cca6 100644 --- a/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Helper/OldFileUpdater.java +++ b/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Helper/OldFileUpdater.java @@ -57,7 +57,7 @@ public static void updateConfig(YAML oldYAML, YAML newYAML) } try { - newYAML.set(key, oldYAML.getString(oldKey)); + if(oldYAML.isSet(oldKey)) newYAML.set(key, oldYAML.getString(oldKey)); } catch(Exception e) {