public static EquipmentType getEquipmentType(ItemStack is) {
        if (ArrayUtils.contains(mats.get(EquipmentType.HELM), is.getType())) return EquipmentType.HELM;
        else if (ArrayUtils.contains(mats.get(EquipmentType.CHESTPLATE), is.getType())) return EquipmentType.CHESTPLATE;
        else if (ArrayUtils.contains(mats.get(EquipmentType.LEGGINGS), is.getType())) return EquipmentType.LEGGINGS;
        else if (ArrayUtils.contains(mats.get(EquipmentType.BOOTS), is.getType())) return EquipmentType.BOOTS;
        else if (ArrayUtils.contains(mats.get(EquipmentType.WEAPON), is.getType())) return EquipmentType.WEAPON;
        else if (is.getType() == Material.BOW) return EquipmentType.BOW;
        return null;
    }