Vampirism - Become a vampire!

Vampirism - Become a vampire!

16M Downloads

[Modcompat]: Crash with Emojiful upon sleeping in coffins

Gronglegrowth opened this issue ยท 3 comments

commented

Minecraft Version

1.19.x

Forge Version

43.1.57

Vampirism Version

1.9.0 beta 3

Incompatible mod

Emojiful 4.0.3

Singleplayer/Multiplayer

Singleplayer

What happened?

When sleeping in a coffin, the game instantly freezes then crashes, I suspect this is on Emojiful's side, I reported it to them as well - InnovativeOnlineIndustries/Emojiful#63

Reproduce steps

  1. Place down a coffin with Emojiful loaded
  2. Sleep in it
  3. Observe crash

Relevant log output

The following links contain both crashlogs that were produced
https://github.com/InnovativeOnlineIndustries/Emojiful/files/10114972/crash-2022-11-29_11.18.50-client.txt
https://github.com/InnovativeOnlineIndustries/Emojiful/files/10114974/crash-2022-11-29_11.18.38-server.txt
commented

Todo:

if (Minecraft.getInstance().screen instanceof InBedChatScreen && !(Minecraft.getInstance().screen instanceof SleepInMultiplayerModScreen)) {

Either only replace exact class instance or move to NewScreen event

commented

Please try the new 1.9.0 release. It should hopefully resolve this issue.

commented

1.9.0 does fix it.