WayofTime / BloodMagic

The place where all of my mod stuffs is!
Other
296 stars 271 forks source link

1.20.1 Living Armor crash #1998

Open bril01 opened 8 months ago

bril01 commented 8 months ago

Issue Description:

I added the mod to the current All the Mods 9 build and everything was working fine until I equipped my living armor and jumped.

What happens:

The game crashes throwing the following error

Description: Ticking entity

java.lang.NullPointerException: Cannot invoke "wayoftime.bloodmagic.core.living.LivingStats.getLevel(net.minecraft.resources.ResourceLocation)" because "stats" is null at wayoftime.bloodmagic.util.handler.event.GenericHandler.onJump(GenericHandler.java:946) ~[bloodmagic-1.20.1-3.3.2-44.jar%23583!/:1.20.1-3.3.2-44] {re:classloading} at wayoftime.bloodmagic.util.handler.event.__GenericHandler_onJump_LivingJumpEvent.invoke(.dynamic) ~[bloodmagic-1.20.1-3.3.2-44.jar%23583!/:1.20.1-3.3.2-44] {re:classloading,pl:eventbus:B}

What you expected to happen:

Steps to reproduce:

  1. Create the armor
  2. Jump
  3. ...


Affected Versions (Do not use "latest"):

bril01 commented 8 months ago

Edit - After completely closing and reopening the game, I am no longer able to reproduce the error. Odd.