(T e)
| 323 | } |
| 324 | |
| 325 | public <T extends Event & IModBusEvent> void postEvent(T e) { |
| 326 | if (!loadingStateValid) { |
| 327 | LOGGER.error("Cowardly refusing to send event {} to a broken mod state", e.getClass().getName()); |
| 328 | return; |
| 329 | } |
| 330 | ModList.get().forEachModContainer((id, mc) -> mc.acceptEvent(e)); |
| 331 | } |
| 332 | |
| 333 | public List<ModLoadingWarning> getWarnings() |
| 334 | { |
no test coverage detected