diff --git a/src/main/java/net/minestom/server/inventory/EquipmentHandler.java b/src/main/java/net/minestom/server/inventory/EquipmentHandler.java index 8d6562132..0103c63ec 100644 --- a/src/main/java/net/minestom/server/inventory/EquipmentHandler.java +++ b/src/main/java/net/minestom/server/inventory/EquipmentHandler.java @@ -183,6 +183,10 @@ public interface EquipmentHandler { } } + default boolean hasEquipment(@NotNull EquipmentSlot slot) { + return !getEquipment(slot).isAir(); + } + /** * Sends a specific equipment to viewers. *