mirror of
https://github.com/lucko/LuckPerms.git
synced 2025-09-02 02:42:33 +02:00
Fix typo with env var reading (#3345)
* resolves LuckPerms/LuckPerms#3339 * change server name from env var => add to a separate option for this * fix missing variable assignment
This commit is contained in:
@@ -94,7 +94,7 @@ public final class ConfigKeys {
|
||||
server = System.getProperty("luckperms.server", "global").toLowerCase(Locale.ROOT);
|
||||
}
|
||||
if (server.equals("load-from-environment-variable")) {
|
||||
System.getenv().getOrDefault("LUCKPERMS_SERVER", "global").toLowerCase(Locale.ROOT);
|
||||
server = System.getenv().getOrDefault("LUCKPERMS_SERVER", "global").toLowerCase(Locale.ROOT);
|
||||
}
|
||||
return server;
|
||||
});
|
||||
|
Reference in New Issue
Block a user