From c3b56aa57855ff9188aae2f83d2dc92eed620a6f Mon Sep 17 00:00:00 2001 From: GeorgH93 Date: Thu, 26 Aug 2021 18:00:00 +0200 Subject: [PATCH] Fix after merge issue --- .../src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Config.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Config.java b/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Config.java index 46f122f..eaee55b 100644 --- a/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Config.java +++ b/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Config.java @@ -240,7 +240,7 @@ public class Config extends Configuration implements DatabaseConnectionConfigura { boolean useBungee = getConfigE().getBoolean("Misc.UseBungeeCord", false); boolean spigotUsesBungee = Utils.detectBungeeCord(); - boolean shareableDB = getDatabaseType().equals("mysql") || getDatabaseType().equals("global"); + boolean shareableDB = getDatabaseType() == DatabaseType.MYSQL || getDatabaseType() == DatabaseType.SHARED; if(useBungee && !spigotUsesBungee) { logger.warning("You have BungeeCord enabled for the plugin, but it looks like you have not enabled it in your spigot.yml! You probably should check your configuration.");