Fixed getSkullTexture

This commit is contained in:
Auxilor
2022-04-13 12:39:32 +01:00
parent 5eb0d2380a
commit 00853d4a92
3 changed files with 3 additions and 3 deletions

View File

@@ -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
}
}

View File

@@ -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
}
}

View File

@@ -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
}
}