From 70a888e783bdfff2aca30f907761c22c124dc5bc Mon Sep 17 00:00:00 2001 From: Fabian Wennink Date: Sun, 7 Jan 2024 01:13:23 +0100 Subject: [PATCH] Set status handshake protocol to -1 See https://wiki.vg/Server_List_Ping#Handshake "If the client is pinging to determine what version to use, by convention -1 should be set." --- status.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/status.go b/status.go index 2e1fbc9..87552de 100644 --- a/status.go +++ b/status.go @@ -20,7 +20,7 @@ var ( defaultJavaStatusOptions = options.JavaStatus{ EnableSRV: true, Timeout: time.Second * 5, - ProtocolVersion: 47, + ProtocolVersion: -1, } )