Skip to content

Commit

Permalink
Update ConfigLoader.java
Browse files Browse the repository at this point in the history
  • Loading branch information
onebeastchris authored Mar 8, 2025
1 parent 6d0209c commit 1c451a4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ private <T extends GeyserConfig> T load0(Class<T> configClass) throws IOExceptio
.addAction(path("bedrock", "motd1"), rename("primary-motd"))
.addAction(path("bedrock", "motd2"), rename("secondary-motd"))
.addAction(path("bedrock", "enableProxyProtocol"), rename("useProxyProtocol"))
.addAction(path("enableProxyConnections"), rename("performXboxAuthentication"))
.addAction(path("enableProxyConnections"), rename("disableXboxAuth"))
.build())
.build();

Expand Down Expand Up @@ -252,7 +252,7 @@ private <T extends GeyserConfig> T load0(Class<T> configClass) throws IOExceptio

private AdvancedConfig migrateToAdvancedConfig(File file, ConfigurationNode configRoot) throws IOException {
Stream<NodePath> copyFromOldConfig = Stream.of("max-visible-custom-skulls", "custom-skull-render-distance", "scoreboard-packet-threshold", "mtu",
"floodgate-key-file", "use-direct-connection", "disable-compression", "performXboxAuthentication")
"floodgate-key-file", "use-direct-connection", "disable-compression", "disableXboxAuth")
.map(NodePath::path);

var loader = createLoader(file, ADVANCED_HEADER);
Expand Down

0 comments on commit 1c451a4

Please sign in to comment.