mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-11 11:40:29 +00:00
Change grabSkull to getSkull
This commit is contained in:
parent
c2e7aae201
commit
5413b4f852
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue