Skip to content
Success

Changes

Summary

  1. #1129: Fix state corruption while handling explosion damage on (details)
Commit a0d3dfaf284c2ec138d48e37aa4592bf1e96e9ae by md_5
#1129: Fix state corruption while handling explosion damage on EntityComplexPart

An IllegalStateException may occur when an entity is damaged by fire or a potion effect immediately after an EntityComplexPart is damaged by an explosion.

This is fixed by performing the instanceof EntityComplexPart check prior to setting CraftEventFactory.entityDamage.
The file was modified nms-patches/net/minecraft/world/level/Explosion.patch