(final List<ModContainer> modContainers)
| 164 | } |
| 165 | |
| 166 | void setLoadedMods(final List<ModContainer> modContainers) |
| 167 | { |
| 168 | this.mods = modContainers; |
| 169 | this.indexedMods = modContainers.stream().collect(Collectors.toMap(ModContainer::getModId, Function.identity())); |
| 170 | } |
| 171 | |
| 172 | @SuppressWarnings("unchecked") |
| 173 | public <T> Optional<T> getModObjectById(String modId) |
no test coverage detected