修复头颅物品

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
+1 -1
View File
@@ -41,7 +41,7 @@ repositories {
}
dependencies {
compileOnly("com.mojang:authlib:1.5.25")
compileOnly("com.mojang:authlib:3.16.29")
compileOnly("ink.ptms:nms-all:1.0.0")
compileOnly("public:MythicMobs:4.14.1")
compileOnly("public:papi:1.0.0")
+1 -1
View File
@@ -1,2 +1,2 @@
group=com.github.xbaimiao.shoppro
version=1.2.9-SNAPSHOT
version=1.3.0-SNAPSHOT
@@ -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))
})
}