修复头颅物品

This commit is contained in:
xbaimiao
2024-05-31 08:27:01 +08:00
parent 1239da3c90
commit 1f12912f88
4 changed files with 4 additions and 4 deletions
@@ -52,7 +52,7 @@ class HeadShopItem(
return HeadShopItem(
section.getString("material")!!,
section.toItemSetting(char, shop),
section.getString("item")!!.parseToMaterial()
parseToMaterial(section)
)
}
@@ -255,7 +255,7 @@ open class ItemBuilder {
itemMeta.owner = skullOwner
}
if (skullTexture != null) {
itemMeta.setProperty("profile", GameProfile(skullTexture!!.uuid, null).also {
itemMeta.setProperty("profile", GameProfile(skullTexture!!.uuid, "test").also {
it.properties.put("textures", Property("textures", skullTexture!!.textures))
})
}