1
mirror of https://github.com/CarmJos/ScriptItems synced 2026-07-15 07:21:23 +08:00

修改Item的读取方式

This commit is contained in:
2022-03-13 13:30:06 +08:00
parent 395fe548d9
commit 0ca5b23a7a
3 changed files with 37 additions and 78 deletions
+9 -10
View File
@@ -7,16 +7,15 @@ name: "Pro会员前缀"
item:
# 使用原生 ItemStack 配置物品 可能引起配置无法加载而报错!
original:
==: org.bukkit.inventory.ItemStack
type: DIAMOND
damage: 8
meta:
==: ItemMeta
meta-type: UNSPECIFIC
display-name: "&b&lPro+ &b会员前缀"
lore:
- "&7手持物品右键点击即可获得!"
# ==: org.bukkit.inventory.ItemStack
# type: DIAMOND
# damage: 8
# meta:
# ==: ItemMeta
# meta-type: UNSPECIFIC
# display-name: "&b&lPro+ &b会员前缀"
# lore:
# - "&7手持物品右键点击即可获得!"
# 使用插件提供的方法配置物品,更简单
type: DIAMOND