Fix after merge issue

This commit is contained in:
GeorgH93 2021-08-26 18:00:00 +02:00
parent a42d8ca028
commit c3b56aa578
No known key found for this signature in database
GPG Key ID: D1630D37F9E4B3C8
1 changed files with 1 additions and 1 deletions

View File

@ -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.");