Skip to content

Commit 44126b7

Browse files
committed
Remove getLastKnownMinecraftVersion from Player
1 parent 9903be2 commit 44126b7

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

hypixel-api-core/src/main/java/net/hypixel/api/reply/PlayerReply.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -249,14 +249,6 @@ public PetStats getPetStats(IPetRepository petRepository) {
249249
return new PetStats(petRepository, Utilities.GSON.fromJson(petStats, statsObjectType));
250250
}
251251

252-
/**
253-
* @return The last Minecraft version that the player used to connect to Hypixel, or {@code
254-
* null} if it is unknown.
255-
*/
256-
public String getLastKnownMinecraftVersion() {
257-
return getStringProperty("mcVersionRp", null);
258-
}
259-
260252
/**
261253
* @return {@code true} if the player could be identified by the API. Otherwise {@code
262254
* false}.

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ public static void main(String[] args) {
9292
System.out.println("Exact Level ---> " + player.getNetworkLevel());
9393
System.out.println("Experience ----> " + player.getNetworkExp());
9494
System.out.println("Karma ---------> " + player.getKarma());
95-
System.out.println("MC Version ----> " + player.getLastKnownMinecraftVersion());
9695
System.out.println("Last Game Type > " + player.getMostRecentGameType());
9796

9897
/*

0 commit comments

Comments
 (0)