Fix forwarding secrets being reset to default

This commit is contained in:
Andrew Steinborn 2018-10-20 13:47:37 -04:00
parent a6e57f89aa
commit 8d97e98920

View File

@ -316,7 +316,7 @@ public class VelocityConfiguration extends AnnotatedConfig implements ProxyConfi
Servers servers = new Servers(toml.getTable("servers"));
Advanced advanced = new Advanced(toml.getTable("advanced"));
Query query = new Query(toml.getTable("query"));
byte[] forwardingSecret = toml.getString("player-info-forwarding-secret", "5up3r53cr3t")
byte[] forwardingSecret = toml.getString("forwarding-secret", "5up3r53cr3t")
.getBytes(StandardCharsets.UTF_8);
VelocityConfiguration configuration = new VelocityConfiguration(