Skip to content

Commit 5aa12d3

Browse files
committed
Replace knownAliases property example with language
1 parent 44126b7 commit 5aa12d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hypixel-api-example/src/main/java/net/hypixel/api/example/GetPlayerExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public static void main(String[] args) {
101101
* If you also know what type of property it is (like a string or number), you can use more
102102
* specific methods, like `getStringProperty(...)`, `getIntProperty(...)`, and so on.
103103
*/
104-
System.out.println("Previous Names > " + player.getArrayProperty("knownAliases"));
104+
System.out.println("Language ------> " + player.getStringProperty("userLanguage", null));
105105

106106
/*
107107
* Some of the property methods also accept a default value, which gets returned if the

0 commit comments

Comments
 (0)