diff --git a/pom.xml b/pom.xml
index a3e1f24..61e470b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
4.0.0
at.pcgamingfreaks
Minepacks
- 2.0.9
+ 2.0.10-RC1
scm:git:git@github.com:GeorgH93/Minepacks.git
@@ -78,7 +78,7 @@
at.pcgamingfreaks
PluginLib
- 1.0.15-SNAPSHOT
+ 1.0.16-SNAPSHOT
diff --git a/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Helper/OldFileUpdater.java b/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Helper/OldFileUpdater.java
index 364a61a..3ace5bd 100644
--- a/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Helper/OldFileUpdater.java
+++ b/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Helper/OldFileUpdater.java
@@ -77,7 +77,7 @@ public static void updateLanguage(YAML oldYAML, YAML newYAML, Logger logger)
try
{
keys = key.split("\\.");
- if(keys.length == 3)
+ if(keys.length == 3 && keys[0].equals("Language"))
{
switch(keys[1])
{
@@ -106,6 +106,15 @@ public static void updateLanguage(YAML oldYAML, YAML newYAML, Logger logger)
break;
}
}
+ if(keys.length == 1)
+ {
+ switch(keys[0])
+ {
+ case "LanguageName":
+ case "Author":
+ simpleConverter.put(key, key);
+ }
+ }
}
catch(Exception e)
{