mirror of
https://github.com/GeorgH93/Minepacks.git
synced 2024-11-30 13:23:23 +01:00
Fix after merge issue
This commit is contained in:
parent
a42d8ca028
commit
c3b56aa578
@ -240,7 +240,7 @@ public boolean isBungeeCordModeEnabled()
|
|||||||
{
|
{
|
||||||
boolean useBungee = getConfigE().getBoolean("Misc.UseBungeeCord", false);
|
boolean useBungee = getConfigE().getBoolean("Misc.UseBungeeCord", false);
|
||||||
boolean spigotUsesBungee = Utils.detectBungeeCord();
|
boolean spigotUsesBungee = Utils.detectBungeeCord();
|
||||||
boolean shareableDB = getDatabaseType().equals("mysql") || getDatabaseType().equals("global");
|
boolean shareableDB = getDatabaseType() == DatabaseType.MYSQL || getDatabaseType() == DatabaseType.SHARED;
|
||||||
if(useBungee && !spigotUsesBungee)
|
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.");
|
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.");
|
||||||
|
Loading…
Reference in New Issue
Block a user