Fixed getSkullTexture
This commit is contained in:
@@ -39,6 +39,6 @@ class Skull : SkullProxy {
|
||||
val profile = profile[meta] as GameProfile? ?: return null
|
||||
val properties = profile.properties ?: return null
|
||||
val prop = properties["textures"] ?: return null
|
||||
return prop.toMutableList().firstOrNull()?.name
|
||||
return prop.toMutableList().firstOrNull()?.value
|
||||
}
|
||||
}
|
||||
@@ -39,6 +39,6 @@ class Skull : SkullProxy {
|
||||
val profile = profile[meta] as GameProfile? ?: return null
|
||||
val properties = profile.properties ?: return null
|
||||
val prop = properties["textures"] ?: return null
|
||||
return prop.toMutableList().firstOrNull()?.name
|
||||
return prop.toMutableList().firstOrNull()?.value
|
||||
}
|
||||
}
|
||||
@@ -39,6 +39,6 @@ class Skull : SkullProxy {
|
||||
val profile = profile[meta] as GameProfile? ?: return null
|
||||
val properties = profile.properties ?: return null
|
||||
val prop = properties["textures"] ?: return null
|
||||
return prop.toMutableList().firstOrNull()?.name
|
||||
return prop.toMutableList().firstOrNull()?.value
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user