Mekanism Generators

Mekanism Generators

97M Downloads

Crash at create world

agentwolf88 opened this issue ยท 1 comments

commented

Issue description

Crash at create world

Steps to reproduce

No response

Minecraft version

1.18.2 (Latest)

Forge version

40.1.25

Mekanism version

10.2.1 (Latest)

Other relevant versions

No response

If a (crash)log is relevant for this issue, link it here: (It's almost always relevant)

https://pastebin.com/LMw4CCSV

commented

Looks like it is due to an interaction with: https://www.curseforge.com/minecraft/mc-mods/enchant-with-mob which is calling getCapability on the robit before it is even done constructing the entity or capabilities have been gathered. I am not quite sure if this is a bug on our end or their end. My suspicion is it is on their end, but I don't think there is anything they can easily do about it so I will make our getCapability code slightly safer for purposes of if it gets called before the entity is done constructing then it just no-ops but it still feels somewhat weird