TDxir
如题,我想让sk判断玩家身上穿着的是红色皮革盔甲还是蓝色,然后设置一个变量值,现在用的格式是:
  1. if loop-player is wearing a red leather chestplate
复制代码

但是会反馈如下报错:
  1. [21:17:06 INFO]: [Skript] Reloading bedwars.sk...
  2. [21:17:06 ERROR]: Can't understand this condition/effect: if loop-player is wearing a red leather chestplate (bedwars.sk, line 104: if loop-player is wearing a red leather chestplate')
  3. [21:17:06 INFO]: [Skript] Encountered 1 error while reloading bedwars.sk!
复制代码

那么请问该怎么写才能达到这样的目的呢?如果要判断蓝色皮革盔甲呢?
红色皮革盔甲的颜色值为#FF5555