diff --git a/src/at/pcgamingfreaks/MinePacks/Database/Config.java b/src/at/pcgamingfreaks/MinePacks/Database/Config.java index bf6846f..f61bf35 100644 --- a/src/at/pcgamingfreaks/MinePacks/Database/Config.java +++ b/src/at/pcgamingfreaks/MinePacks/Database/Config.java @@ -34,13 +34,6 @@ public Config(JavaPlugin plugin) super(plugin, CONFIG_VERSION, CONFIG_VERSION); } - @Override - protected boolean newConfigCreated() - { - config.set("Database.UseUUIDs", Bukkit.getServer().getOnlineMode() && isBukkitVersionUUIDCompatible()); - return !(Bukkit.getServer().getOnlineMode() && isBukkitVersionUUIDCompatible()); - } - @Override protected void doUpdate() { diff --git a/src/at/pcgamingfreaks/MinePacks/MinePacks.java b/src/at/pcgamingfreaks/MinePacks/MinePacks.java index 8436dda..6cc19d5 100644 --- a/src/at/pcgamingfreaks/MinePacks/MinePacks.java +++ b/src/at/pcgamingfreaks/MinePacks/MinePacks.java @@ -63,7 +63,7 @@ public void onEnable() Utils.warnOnJava_1_7(log); instance = this; //region Check compatibility with used minecraft version - if(MCVersion.is(MCVersion.UNKNOWN) || MCVersion.isNewerThan(MCVersion.MC_NMS_1_10_R1)) + if(MCVersion.is(MCVersion.UNKNOWN) || MCVersion.isNewerThan(MCVersion.MC_NMS_1_11_R1)) { String name = Bukkit.getServer().getClass().getPackage().getName(); String[] version = name.substring(name.lastIndexOf('.') + 2).split("_");