9
0
mirror of https://github.com/Auxilor/EcoArmor.git synced 2026-01-06 15:42:07 +00:00

Fixed crystals being able to be used on unintended items

This commit is contained in:
Auxilor
2021-05-16 12:57:28 +01:00
parent cc3812e3a9
commit e01b480240

View File

@@ -49,6 +49,10 @@ public class CrystalListener extends PluginDependent implements Listener {
return;
}
if (ArmorUtils.getSetOnItem(current) == null) {
return;
}
if (current.getType() == Material.AIR) {
return;
}