Skip to content

Commit c658e55

Browse files
author
inventivetalent
committed
change max players to 1 if a request is pending
1 parent 8029dba commit c658e55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/inventivetalent/mcauth/MCAuthServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public void onPing(ProxyPingEvent event) {
120120
if (System.currentTimeMillis() - (request.getCreated().getTime()) < 5 * 60 * 1000) {
121121
event.setResponse(new ServerPing(
122122
new ServerPing.Protocol("MCAuth", event.getConnection().getVersion()),
123-
new ServerPing.Players(0, 0, new ServerPing.PlayerInfo[0]),
123+
new ServerPing.Players(1, 0, new ServerPing.PlayerInfo[0]),
124124
new TextComponent("§8MCAuth Server - §7mcauth.ga\n"
125125
+ "§aJoin now to verify your account!"),
126126
getProxy().getConfig().getFaviconObject()

0 commit comments

Comments
 (0)