Blueprint

Blueprint

57M Downloads

NPE during datagen when using abnormals core as dependency

JaisDK opened this issue ยท 0 comments

commented

Hello,

I am having Abnormals Core as a dependency in my dev setup and it's causing issues with data gen. The problem is that Minecraft.getInstace() is null during data gen and you are using it in your mod constructor.

https://github.com/minecraftabnormals/Abnormals-Core/blob/master/src/main/java/com/teamabnormals/abnormals_core/core/AbnormalsCore.java#L99

According to mcjty its best suited for FMLClientSetupEvent

https://discord.com/channels/313125603924639766/454376090362970122/733295976324005948