From 8d97e98920e6d26efdf7d773da5f776c211721e6 Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Sat, 20 Oct 2018 13:47:37 -0400 Subject: [PATCH] Fix forwarding secrets being reset to default --- .../com/velocitypowered/proxy/config/VelocityConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/main/java/com/velocitypowered/proxy/config/VelocityConfiguration.java b/proxy/src/main/java/com/velocitypowered/proxy/config/VelocityConfiguration.java index dcd5aff8b..39ff30899 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/config/VelocityConfiguration.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/config/VelocityConfiguration.java @@ -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(