eyesniper2 / skRayFall

An addon for skript that adds Citizens support, EffectLib support and other features.
https://sk.rayfall.net/
GNU General Public License v3.0
21 stars 17 forks source link

Event errors with Armor Value in 1.16.3 - GOLD armor renamed GOLDEN #76

Open Vampsku11 opened 3 years ago

Vampsku11 commented 3 years ago

Describe the bug

Player's Armor Value is not being detected when equiping and unequiping pieces of armor. Console is giving errors for Golden armor pieces.

Your Script

https://pastebin.com/gWvBfhcc

Screenshots / Errors

https://pastebin.com/KHinHNmb

Server Information

Additional Information

Spigot lists the materials as prefixed with GOLDEN here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html I'm not sure if this is something that has changed recently.