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] }; }