Add EquipmentHandler#hasEquipment

This commit is contained in:
TheMode 2021-08-24 08:26:04 +02:00
parent 2cf4e89694
commit 4825f8d4c1

View File

@ -183,6 +183,10 @@ public interface EquipmentHandler {
}
}
default boolean hasEquipment(@NotNull EquipmentSlot slot) {
return !getEquipment(slot).isAir();
}
/**
* Sends a specific equipment to viewers.
*