Minor fix to getGameProfile(Player)

This commit is contained in:
libraryaddict 2014-11-15 10:14:27 +13:00
parent f6140620c8
commit 7563b4ec0c

View File

@ -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;
} }