mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 05:04:58 +05:00
Фиксики
This commit is contained in:
parent
a861ff043c
commit
37cbf6419a
1 changed files with 3 additions and 3 deletions
|
@ -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]
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue