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:
@@ -49,6 +49,10 @@ public class CrystalListener extends PluginDependent implements Listener {
|
||||
return;
|
||||
}
|
||||
|
||||
if (ArmorUtils.getSetOnItem(current) == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (current.getType() == Material.AIR) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user