Disable ping packets during status retrieval

This commit is contained in:
Jacob Gunther 2024-09-15 15:12:01 -05:00
parent 5d36a3d69c
commit cc2310b438
No known key found for this signature in database
GPG Key ID: 0BC0BF3A18802890

View File

@ -332,7 +332,7 @@ func FetchJavaStatus(hostname string, port uint16, opts *StatusOptions) (*JavaSt
EnableSRV: true,
Timeout: opts.Timeout - time.Millisecond*100,
ProtocolVersion: 47,
Ping: true,
Ping: false,
})
wg.Done()