temp feat: disable palworld tcp ping probing
This commit is contained in:
parent
6a174c6eb1
commit
dfb3508702
|
@ -1,6 +1,12 @@
|
||||||
import Core from './core.js'
|
import Core from './core.js'
|
||||||
|
|
||||||
export default class palworld extends Core {
|
export default class palworld extends Core {
|
||||||
|
constructor () {
|
||||||
|
super()
|
||||||
|
// Don't use the tcp ping probing
|
||||||
|
this.usedTcp = true
|
||||||
|
}
|
||||||
|
|
||||||
async makeCall (endpoint) {
|
async makeCall (endpoint) {
|
||||||
const url = `http://${this.options.host}:${this.options.port}/v1/api/${endpoint}`
|
const url = `http://${this.options.host}:${this.options.port}/v1/api/${endpoint}`
|
||||||
const headers = {
|
const headers = {
|
||||||
|
|
Loading…
Reference in New Issue