DragonSurvivalTeam / DragonSurvival

Other
51 stars 39 forks source link

[1.20.1 Bug]: Crash when jumping while Trapped #553

Open MetaflameDragon opened 1 week ago

MetaflameDragon commented 1 week ago

■ Your Discord ID or other contacts

Reply directly on GitHub

■ Dragon Survival version

dragonsurvival-1.20.1-25.06.2024.jar

■ Forge/Neoforge version

NeoForge 47.1.106

■ Single game or server?

Single-player (Default)

■ Describe the bug

Jumping with the Trapped status effect crashes the game.

■ Crash Report File and Logs

latest.log

MetaflameDragon commented 1 week ago

This seems to be caused by canceling the jumpEvent, which is not cancelable.

https://github.com/DragonSurvivalTeam/DragonSurvival/blob/1.20.1/src/main/java/by/dragonsurvivalteam/dragonsurvival/common/handlers/EventHandler.java#L248