From 37cbf6419a30af329f0689a5fff1f434aa48715a Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Fri, 8 Apr 2022 01:39:29 +0500 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=D0=B8=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commands/General/minecraft.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/General/minecraft.js b/commands/General/minecraft.js index bbad5f80..dbf01267 100644 --- a/commands/General/minecraft.js +++ b/commands/General/minecraft.js @@ -30,11 +30,11 @@ class Minecraft extends Command { }; if (ip.split(":").length > 1) { - const ip = ip.split(":"); + const ipp = ip.split(":"); options = { type: "minecraft", - host: ip[0], - port: ip[1] + host: ipp[0], + port: ipp[1] }; }