Minor fix to getGameProfile(Player)
This commit is contained in:
parent
f6140620c8
commit
7563b4ec0c
@ -365,8 +365,8 @@ public class ReflectionManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static WrappedGameProfile getGameProfile(Player player) {
|
public static WrappedGameProfile getGameProfile(Player player) {
|
||||||
if (LibVersion.is1_7()) {
|
if (LibVersion.is1_7() || LibVersion.is1_8()) {
|
||||||
return getGameProfileWithThisSkin(null, player.getName(), WrappedGameProfile.fromPlayer(player));
|
return WrappedGameProfile.fromPlayer(player);
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user