mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-08-22 22:53:01 +02:00
Change grabSkull to getSkull
This commit is contained in:
parent
c2e7aae201
commit
5413b4f852
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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()) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user