From 5413b4f85209d80c6066480843314bca66ea3932 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Sun, 20 Apr 2014 02:13:56 +1200 Subject: [PATCH] Change grabSkull to getSkull --- src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java | 2 +- src/me/libraryaddict/disguise/utilities/ReflectionManager.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java b/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java index feb30216..c39f59f1 100644 --- a/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java +++ b/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java @@ -375,7 +375,7 @@ public class DisguiseUtilities { */ public static Object lookupGameProfile(String playerName) { Object gameprofile = ReflectionManager.grabProfileAddUUID(playerName); - return ReflectionManager.grabSkullBlob(gameprofile); + return ReflectionManager.getSkullBlob(gameprofile); } /** diff --git a/src/me/libraryaddict/disguise/utilities/ReflectionManager.java b/src/me/libraryaddict/disguise/utilities/ReflectionManager.java index 4df10cb9..71772ff0 100644 --- a/src/me/libraryaddict/disguise/utilities/ReflectionManager.java +++ b/src/me/libraryaddict/disguise/utilities/ReflectionManager.java @@ -321,7 +321,7 @@ public class ReflectionManager { return null; } - public static Object grabSkullBlob(Object gameProfile) { + public static Object getSkullBlob(Object gameProfile) { try { Object minecraftServer = getNmsClass("MinecraftServer").getMethod("getServer").invoke(null); for (Method method : getNmsClass("MinecraftServer").getMethods()) {