mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-20 07:02:32 +01:00
Fix Grammar in ResponseData
This commit is contained in:
parent
7641b8a75d
commit
6ff5f7e93c
@ -311,7 +311,7 @@ public class ResponseData {
|
||||
*
|
||||
* @return if the players are hidden
|
||||
*/
|
||||
public boolean isPlayersHidden() {
|
||||
public boolean arePlayersHidden() {
|
||||
return playersHidden;
|
||||
}
|
||||
|
||||
|
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user