mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-12-29 12:37:40 +01: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:
parent
eeec818286
commit
405c5c3cf9
@ -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;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user