From 7563b4ec0c5072aa56d40dfb1cf319969895a78b Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Sat, 15 Nov 2014 10:14:27 +1300 Subject: [PATCH] Minor fix to getGameProfile(Player) --- .../libraryaddict/disguise/utilities/ReflectionManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/me/libraryaddict/disguise/utilities/ReflectionManager.java b/src/me/libraryaddict/disguise/utilities/ReflectionManager.java index 2c323351..87645a3c 100644 --- a/src/me/libraryaddict/disguise/utilities/ReflectionManager.java +++ b/src/me/libraryaddict/disguise/utilities/ReflectionManager.java @@ -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; }