Error when i put on armor.
wallxq opened this issue ยท 2 comments
Describe the bug
Actionbar dont work when i put on armor.
Steps to Reproduce
1.16.1 paperspigot + lastest skrayfall + skript lastest and olders like my 2.5 alpha 5
set action bar of loop-player to "%loop-player's armor value%"
%loop-player's armor value% <--- give error, without this its okay
Console Error
[Skript] Task #1787 for Skript v2.5-alpha5 generated an exception
java.lang.NoSuchFieldError: GOLD_CHESTPLATE
at net.rayfall.eyesniper2.skrayfall.general.expressions.ExprArmorValue.convert(ExprArmorValue.java:60) ~[?:?]
at net.rayfall.eyesniper2.skrayfall.general.expressions.ExprArmorValue.convert(ExprArmorValue.java:11) ~[?:?]
at ch.njol.skript.registrations.Converters.convert(Converters.java:391) ~[?:?]
at ch.njol.skript.registrations.Converters.convertUnsafe(Converters.java:382) ~[?:?]
at ch.njol.skript.expressions.base.PropertyExpression.get(PropertyExpression.java:104) ~[?:?]
at ch.njol.skript.expressions.base.SimplePropertyExpression.get(SimplePropertyExpression.java:55) ~[?:?]
at ch.njol.skript.expressions.base.PropertyExpression.get(PropertyExpression.java:75) ~[?:?]
at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:102) ~[?:?]
at ch.njol.skript.lang.VariableString.toString(VariableString.java:477) ~[?:?]
at ch.njol.skript.lang.VariableString.getSingle(VariableString.java:721) ~[?:?]
at ch.njol.skript.lang.VariableString.getSingle(VariableString.java:1) ~[?:?]
at net.rayfall.eyesniper2.skrayfall.v1_16.EffActionBarV1_16.execute(EffActionBarV1_16.java:52) ~[?:?]
at ch.njol.skript.lang.Effect.run(Effect.java:52) ~[?:?]
at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61) ~[?:?]
at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89) ~[?:?]
at ch.njol.skript.lang.Trigger.execute(Trigger.java:57) ~[?:?]
at ch.njol.skript.events.EvtPeriodical.execute(EvtPeriodical.java:96) ~[?:?]
at ch.njol.skript.events.EvtPeriodical$2.run(EvtPeriodical.java:120) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R1.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.16.1.jar:git-Paper-135]
at org.bukkit.craftbukkit.v1_16_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.16.1.jar:git-Paper-135]
at net.minecraft.server.v1_16_R1.MinecraftServer.b(MinecraftServer.java:1298) ~[patched_1.16.1.jar:git-Paper-135]
at net.minecraft.server.v1_16_R1.DedicatedServer.b(DedicatedServer.java:377) ~[patched_1.16.1.jar:git-Paper-135]
at net.minecraft.server.v1_16_R1.MinecraftServer.a(MinecraftServer.java:1213) ~[patched_1.16.1.jar:git-Paper-135]
at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:1001) ~[patched_1.16.1.jar:git-Paper-135]
at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.1.jar:git-Paper-135]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_251]