diff --git a/actions/game_server_MOD.js b/actions/game_server_MOD.js index 52b1d710..e90d4345 100644 --- a/actions/game_server_MOD.js +++ b/actions/game_server_MOD.js @@ -166,7 +166,7 @@ module.exports = { - + @@ -413,12 +413,10 @@ module.exports = { const ip = this.evalMessage(data.serverip, cache); const port = this.evalMessage(data.serverport, cache); - const Mods = this.getMods(); - const Gamedig = Mods.require('gamedig'); + const { GameDig } = require('gamedig'); if (!ip) return console.log('Please provide Server IP & Port.'); - - Gamedig.query({ + GameDig.query({ type: gametype, host: ip, port,