Fix Grammar in ResponseData

This commit is contained in:
thiccaxe 2021-06-11 23:08:57 -07:00
parent 7641b8a75d
commit 6ff5f7e93c
2 changed files with 2 additions and 2 deletions

View File

@ -311,7 +311,7 @@ public class ResponseData {
*
* @return if the players are hidden
*/
public boolean isPlayersHidden() {
public boolean arePlayersHidden() {
return playersHidden;
}

View File

@ -110,7 +110,7 @@ public enum ServerListPingType {
versionObject.addProperty("protocol", data.getProtocol());
JsonObject playersObject = null;
if (!data.isPlayersHidden()) {
if (!data.arePlayersHidden()) {
// players info
playersObject = new JsonObject();
playersObject.addProperty("max", data.getMaxPlayer());