Change grabSkull to getSkull

This commit is contained in:
libraryaddict 2014-04-20 02:13:56 +12:00
parent c2e7aae201
commit 5413b4f852
2 changed files with 2 additions and 2 deletions

View File

@ -375,7 +375,7 @@ public class DisguiseUtilities {
*/ */
public static Object lookupGameProfile(String playerName) { public static Object lookupGameProfile(String playerName) {
Object gameprofile = ReflectionManager.grabProfileAddUUID(playerName); Object gameprofile = ReflectionManager.grabProfileAddUUID(playerName);
return ReflectionManager.grabSkullBlob(gameprofile); return ReflectionManager.getSkullBlob(gameprofile);
} }
/** /**

View File

@ -321,7 +321,7 @@ public class ReflectionManager {
return null; return null;
} }
public static Object grabSkullBlob(Object gameProfile) { public static Object getSkullBlob(Object gameProfile) {
try { try {
Object minecraftServer = getNmsClass("MinecraftServer").getMethod("getServer").invoke(null); Object minecraftServer = getNmsClass("MinecraftServer").getMethod("getServer").invoke(null);
for (Method method : getNmsClass("MinecraftServer").getMethods()) { for (Method method : getNmsClass("MinecraftServer").getMethods()) {