Update sdk/js/server/query
parent
4db58ce747
commit
a7f5877e43
@ -12,7 +12,7 @@ import {
|
||||
|
||||
try {
|
||||
const server: CachedJavaMinecraftServer | CachedBedrockMinecraftServer =
|
||||
await getMinecraftServer(ServerPlatform.JAVA, "hypixel.net");
|
||||
await getMinecraftServer(ServerPlatform.JAVA / ServerPlatform.BEDROCK, "hypixel.net");
|
||||
console.log(
|
||||
`Pinged ${server.ip}:${server.port}, there are ${server.players.online}/${server.players.max} players online`
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user