修复头颅物品
This commit is contained in:
@@ -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))
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user