diff --git a/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java b/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java index c3f14cd7..5dfe4402 100644 --- a/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java +++ b/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java @@ -580,15 +580,14 @@ public class DisguiseUtilities { */ public static WrappedGameProfile lookupGameProfile(String playerName) { WrappedGameProfile gameprofile = ReflectionManager.grabProfileAddUUID(playerName); - return ReflectionManager.getSkullBlob(gameprofile); + return ReflectionManager.getGameProfileWithThisSkin(null, gameprofile.getName(), + ReflectionManager.getSkullBlob(gameprofile)); } /** - * Please note that in the future when 'DualInt' and the like are removed. This should break.. - * - * However, that should be negated in the future as I'd be able to set the watcher index's as per the spigot version. - * - * Instead of checking on the player's version every single packet.. + * Please note that in the future when 'DualInt' and the like are removed. This should break.. However, that should be negated + * in the future as I'd be able to set the watcher index's as per the spigot version. Instead of checking on the player's + * version every single packet.. */ public static List rebuildForVersion(Player player, FlagWatcher watcher, List list) { diff --git a/src/me/libraryaddict/disguise/utilities/ReflectionManager.java b/src/me/libraryaddict/disguise/utilities/ReflectionManager.java index 3c80e0fc..2b8b88a3 100644 --- a/src/me/libraryaddict/disguise/utilities/ReflectionManager.java +++ b/src/me/libraryaddict/disguise/utilities/ReflectionManager.java @@ -355,7 +355,7 @@ public class ReflectionManager { public static WrappedGameProfile getGameProfile(Player player) { if (LibVersion.is1_7()) { - return WrappedGameProfile.fromPlayer(player); + return getGameProfileWithThisSkin(null, player.getName(), WrappedGameProfile.fromPlayer(player)); } return null; }