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