Atum 2: Return to the Sands

Atum 2: Return to the Sands

22M Downloads

Crash when Apotheosis tried to spawn "Boss" assassin.

Darkmega18 opened this issue · 0 comments

commented

I've been getting into datapacking some specially equipped randomly spawning bosses and such using apotheosis...

but I just had a crash that is as follows when a boss tried to spawn in my world while testing and playing my modpack:
https://pastebin.com/kRBM1BWz
I reported it to shadow and he replied:

Shadows — Today at 12:12 PM
it may not check if a certain nbt tag is present, and you may need to provide that tag in the boss entry
Shadows — Today at 12:12 PM
technically™️ it's a bug on their end if they aren't checking
yep
they dont check if this compound exists
https://github.com/TeamMetallurgy/Atum2/blob/master/src/main/java/com/teammetallurgy/atum/entity/bandit/AssassinEntity.java#L156
they check if the player exists
but not the compound
and so it crashes trying to actually retrieve the uuid
Shadows — Today at 12:13 PM
yeah they just need a compound.has("MarkedForDeathTarget") before they call getUniqueId

Would you be able to look into this?

it is on:
Atum 2: 2.2.7
forge 1.16.5 - 36.2.4
with of course a lot of other mods except it.