Vampirism - Become a vampire!

Vampirism - Become a vampire!

16M Downloads

[Bug] Vampirism causes crash to desktop during Astral Sorcery attunement process

stepech opened this issue ยท 7 comments

commented

Versions

Issue Description

Complete minecraft launcher crash to desktop - affected by event in Astral Sorcery, caused by some incompatibility with Vampirism mod and crashed

After finishing attunement altar and the structure around, player is able to "attune" himself to a power of some constellation. During this attunement process, whenewer player wants to start it, the whole game just crashed. Video:
Here
I know it is vampirism's fault as downgrading to stable 1.6.1 version solves the issue. Crash report dump below.

crash-2020-10-19_21.51.10-client.txt
crash-2020-10-19_22.12.50-client.txt
crash-2020-10-19_22.16.18-client.txt
crash-2020-10-19_22.27.13-client.txt

commented

@maxanier fixed by a simple null check because the player is saved/loaded on the client, but should i add a log warning like
if (this.taskManager != null) { this.taskManager.writeNBT(nbt); } else { LOGGER.warn("The player is saved on the client side and therefore taskmaster related data is missing"); }

commented

Thank you guys, it's so nice to see someone taking care of their mods and fixing issue in under 24 hours is exemplary. Is there some way for me to donate/support development? It's somehow rare to see maintained/updated mods, there must be some way to help you in this effort.

commented

Given proper bug reports, it is always a pleasure to squash some bugs ^^ (especially when they are rather simple to fix).
To support the development just keep reporting issues if you should find some, and spread the word about Vampirism :)
You can also donate on the CurseForge page, but only if you don't need the money yourself :)

commented

Did you figure out, why astral sorcery is saving the player client side?

commented

Ah, alright. I would skip the warning message (maybe debug/trace). As far as I can tell writing/reading entity data client side is not "illegal", so this could happen frequently with certain mods. As long as the data is then only used client side, it shouldn't cause any issue anyway.
Maybe double check that loading a player from nbt with missing task manager data does not crash.

commented

will be fixed in next release