temp feat: disable palworld tcp ping probing

This commit is contained in:
CosminPerRam 2024-04-14 03:03:42 +03:00
parent 6a174c6eb1
commit dfb3508702
1 changed files with 6 additions and 0 deletions

View File

@ -1,6 +1,12 @@
import Core from './core.js'
export default class palworld extends Core {
constructor () {
super()
// Don't use the tcp ping probing
this.usedTcp = true
}
async makeCall (endpoint) {
const url = `http://${this.options.host}:${this.options.port}/v1/api/${endpoint}`
const headers = {