mirror of
https://github.com/GeorgH93/Minepacks.git
synced 2025-03-13 13:39:22 +01:00
Add warning when using BungeeCord withtout setting online mode in config
This commit is contained in:
parent
0c05eb359e
commit
b688cd3022
@ -126,6 +126,10 @@ public boolean useOnlineUUIDs()
|
||||
String type = getConfigE().getString("Database.UUID_Type", "auto").toLowerCase(Locale.ENGLISH);
|
||||
if(type.equals("auto"))
|
||||
{
|
||||
if(isBungeeCordModeEnabled())
|
||||
{
|
||||
logger.warning("When using BungeeCord please make sure to set the UUID_Type config option explicitly!");
|
||||
}
|
||||
return plugin.getServer().getOnlineMode();
|
||||
}
|
||||
return type.equals("online");
|
||||
|
Loading…
Reference in New Issue
Block a user