After the latest update regarding liquid borders, custom entities (like grave/tomb blocks from Add-ons) that are spawned inside or near lava are instantly destroyed. The minecraft:damage_sensor component with fire/lava immunity on custom entities seems to be ignored or malfunctioning due to the new liquid border code fixes.
Steps to Reproduce:
Install an Add-on that spawns a custom entity upon player death to save items.
Die inside a pool of lava.
The custom entity is spawned but immediately vaporized by the lava, failing to protect the items inside.
Please attach an example add-on that can be used to reproduce the issue.