Dungeon Now Loading 2%

Dungeon Now Loading 2%

5M Downloads

Game Crash – Chaos Spawner Entity Causes NullPointerException (v1.5, Forge 1.20.1)

MartinVR009 opened this issue · 6 comments

commented

I encountered a game crash while using Dungeon Now Loading v1.5 on Forge 1.20.1. The crash happens when the Chaos Spawner entity tries to access a missing or null damage source. This results in a NullPointerException, causing the server to crash.

Steps to Reproduce:
Encounter a Chaos Spawner entity (either naturally or by summoning).
The game crashes due to a missing damage source reference.

Crash Report Message :
java.lang.NullPointerException: Cannot invoke
"net.minecraft.world.damagesource.DamageSource.m_7639_()"
because "this.killedDamageSource" is null
at dev.hexnowloading.dungeonnowloading.entity.boss.ChaosSpawnerEntity.m_6153_(ChaosSpawnerEntity.java:556)