mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2025-04-19 09:07:06 +00:00
random uuid was not shown in logs
This commit is contained in:
parent
4757a49bdc
commit
8a64ef59f0
@ -444,13 +444,11 @@ public final class RedisBungee extends Plugin {
|
||||
getLogger().info("Generated server id " + genId + " and saving it to config.");
|
||||
configuration.set("server-id", genId);
|
||||
ConfigurationProvider.getProvider(YamlConfiguration.class).save(configuration, new File(getDataFolder(), "config.yml"));
|
||||
} else {
|
||||
getLogger().info("Loaded server id " + serverId + '.');
|
||||
}
|
||||
|
||||
if (configuration.getBoolean("use-random-id-string", false)) {
|
||||
serverId = configuration.getString("server-id") + "-" + randomUUID;
|
||||
}
|
||||
getLogger().info("Loaded server id " + serverId + '.');
|
||||
|
||||
if (redisServer != null && !redisServer.isEmpty()) {
|
||||
final String finalRedisPassword = redisPassword;
|
||||
|
Loading…
Reference in New Issue
Block a user