diff --git a/pom.xml b/pom.xml index c47b304..ef5bd34 100644 --- a/pom.xml +++ b/pom.xml @@ -45,7 +45,7 @@ org.bukkit bukkit - 1.10.2-R0.1-SNAPSHOT + 1.11-R0.1-SNAPSHOT provided diff --git a/resources/plugin.yml b/resources/plugin.yml index abdd3d2..a41e0ec 100644 --- a/resources/plugin.yml +++ b/resources/plugin.yml @@ -4,6 +4,7 @@ website: http://dev.bukkit.org/bukkit-plugins/minepacks/ main: at.pcgamingfreaks.MinePacks.MinePacks description: Minepacks is a backpack plugin with different backpack sizes, multilanguage and MySQL storage support. It is a simple plugin, but still has a lot of functions. version: ${project.version} +depend: [PCGF_MC_Plugin_Lib] commands: backpack: description: Main command diff --git a/src/at/pcgamingfreaks/MinePacks/Database/Language.java b/src/at/pcgamingfreaks/MinePacks/Database/Language.java index 523c1ab..8c782dd 100644 --- a/src/at/pcgamingfreaks/MinePacks/Database/Language.java +++ b/src/at/pcgamingfreaks/MinePacks/Database/Language.java @@ -62,7 +62,7 @@ protected void doUpgrade(at.pcgamingfreaks.Language oldLang) } break; case "Ingame": - switch(keys[3]) + switch(keys[2]) { case "NoPermission": advancedConverter.put(key, ChatColor.RED + oldYAML.getString(key)); break; case "OwnBackPackClose": simpleConverter.put(key, key); break;