Fix crash caused by previous commit (#7298)
This commit is contained in:
parent
3820d1b66f
commit
bef8c2da3d
1 changed files with 1 additions and 2 deletions
|
@ -50,8 +50,7 @@ public enum ModLoadingStage
|
||||||
ERROR(),
|
ERROR(),
|
||||||
VALIDATE(),
|
VALIDATE(),
|
||||||
CONSTRUCT(FMLConstructModEvent.class),
|
CONSTRUCT(FMLConstructModEvent.class),
|
||||||
@SuppressWarnings({ "unchecked", "rawtypes" }) //Eclipse compiler generics issue. Sorry cpw, your nested generics can't be inferred
|
CREATE_REGISTRIES(()->Stream.of(EventGenerator.fromFunction(RegistryEvent.NewRegistry::new)), EventDispatcher.identity()),
|
||||||
CREATE_REGISTRIES((Supplier)()->Stream.of((Function<ModContainer, IModBusEvent>)RegistryEvent.NewRegistry::new), EventDispatcher.identity()),
|
|
||||||
LOAD_REGISTRIES(GameData::generateRegistryEvents, GameData.buildRegistryEventDispatch()),
|
LOAD_REGISTRIES(GameData::generateRegistryEvents, GameData.buildRegistryEventDispatch()),
|
||||||
COMMON_SETUP(FMLCommonSetupEvent.class),
|
COMMON_SETUP(FMLCommonSetupEvent.class),
|
||||||
SIDED_SETUP(DistExecutor.unsafeRunForDist(()->()->FMLClientSetupEvent.class, ()->()->FMLDedicatedServerSetupEvent.class)),
|
SIDED_SETUP(DistExecutor.unsafeRunForDist(()->()->FMLClientSetupEvent.class, ()->()->FMLDedicatedServerSetupEvent.class)),
|
||||||
|
|
Loading…
Reference in a new issue