fix wrong SRV record name -> _minecraft._tcp.
This commit is contained in:
parent
1de2c7a053
commit
005798aa0d
@ -339,7 +339,7 @@ class ServerRegistration {
|
|||||||
if (!this._isUnfurlingSrv) {
|
if (!this._isUnfurlingSrv) {
|
||||||
this._isUnfurlingSrv = true
|
this._isUnfurlingSrv = true
|
||||||
|
|
||||||
dns.resolveSrv('_minecraft._tcp' + this.data.ip, (_, records) => {
|
dns.resolveSrv('_minecraft._tcp.' + this.data.ip, (_, records) => {
|
||||||
this._lastUnfurlSrv = {
|
this._lastUnfurlSrv = {
|
||||||
timestamp
|
timestamp
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user