Skip to content

Commit

Permalink
fix: also set disable v1 protocol property
Browse files Browse the repository at this point in the history
  • Loading branch information
azurejelly committed Aug 31, 2024
1 parent 8a8adc9 commit b917464
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class BackendServer {
public BackendServer() {
this.address = "127.0.0.1";
this.port = 25565;
this.token = null;
this.token = "exampleToken";
}

public BackendServer(String address, int port, String token) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public StandaloneVotifierPlugin provideStandaloneVotifierPlugin(
VotifierServerBuilder builder = new VotifierServerBuilder()
.bind(address)
.v1KeyFolder(rsaFolder)
.disableV1Protocol(config.isDisableV1Protocol())
.debug(config.isDebug())
.backendServers(config.getBackendServers());

Expand Down

0 comments on commit b917464

Please sign in to comment.