Get equipment slot by name @param aName @return equipment slot
(final String aName)
| 230 | * @return equipment slot |
| 231 | */ |
| 232 | public static EquipSlot getEquipSlotByName(final String aName) |
| 233 | { |
| 234 | return SystemCollections.getUnmodifiableEquipSlotList() |
| 235 | .stream() |
| 236 | .filter(es -> es.getSlotName().equals(aName)) |
| 237 | .findFirst() |
| 238 | .orElse(null); |
| 239 | } |
| 240 | |
| 241 | /** |
| 242 | * Set equipment slot type count |
no test coverage detected