Enchancement

Enchancement

286k Downloads

Server crash due to Skeleton with Bouncy enchantment riding a Spider

TillDiebelt opened this issue ยท 0 comments

commented

Mod version

1.18-17

A description of the issue

A Skeleton riding a spider wearing enchanted armor with Bouncy can crash Server without possibility to restart without backup or deleting the entity for the world.
Server is running All of Fabric 5 on Version 1.2.4.
Possible fix:
Catch Null Pointer for prevVelocity in https://github.com/MoriyaShiine/enchancement/blob/main/src/main/java/moriyashiine/enchancement/mixin/bouncy/LivingEntityMixin.java and do not apply new velocity in that case.

Log or crash report

https://gist.github.com/TillDiebelt/36c54a8a0652b5f8cac7381e4e6dffe3