Update sdk/js/server/query

Braydon 2024-04-15 12:50:24 -07:00
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`
);