mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-14 04:38:11 +00:00
Minor fix to getGameProfile(Player)
This commit is contained in:
parent
f6140620c8
commit
7563b4ec0c
1 changed files with 2 additions and 2 deletions
|
@ -365,8 +365,8 @@ public class ReflectionManager {
|
|||
}
|
||||
|
||||
public static WrappedGameProfile getGameProfile(Player player) {
|
||||
if (LibVersion.is1_7()) {
|
||||
return getGameProfileWithThisSkin(null, player.getName(), WrappedGameProfile.fromPlayer(player));
|
||||
if (LibVersion.is1_7() || LibVersion.is1_8()) {
|
||||
return WrappedGameProfile.fromPlayer(player);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue