From dfb350870278d79b074efe94c20fe5d69d82b331 Mon Sep 17 00:00:00 2001 From: CosminPerRam Date: Sun, 14 Apr 2024 03:03:42 +0300 Subject: [PATCH] temp feat: disable palworld tcp ping probing --- protocols/palworld.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/protocols/palworld.js b/protocols/palworld.js index 33b8bb8..e01ab90 100644 --- a/protocols/palworld.js +++ b/protocols/palworld.js @@ -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 = {