mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-09-12 01:48:07 +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) {
|
public static Object lookupGameProfile(String playerName) {
|
||||||
Object gameprofile = ReflectionManager.grabProfileAddUUID(playerName);
|
Object gameprofile = ReflectionManager.grabProfileAddUUID(playerName);
|
||||||
return ReflectionManager.grabSkullBlob(gameprofile);
|
return ReflectionManager.getSkullBlob(gameprofile);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user