show player count

This commit is contained in:
creeper123123321 2021-05-16 21:07:43 -03:00
parent 1efaab98c2
commit 0337ad93f2

View File

@ -57,7 +57,7 @@ object StatusState : MinecraftConnectionState {
packet.json = JsonObject().also {
it.add("version", JsonObject().also {
it.addProperty("name", "VIAaaS")
it.addProperty("protocol", -1)
it.addProperty("protocol", handler.data.frontVer)
})
it.add("players", JsonObject().also {
it.addProperty("max", 0)