Domestication Innovation

Domestication Innovation

2M Downloads

Blazing Protection causes crashes when pet is damaged by non-entity sources.

DoctorWafflePhD opened this issue ยท 0 comments

commented

Blazing Protection, which causes entities attacking the pet to take fire damage and be set ablaze, crashes the game when a pet equipped with the enchantment takes damage that cannot be traced to an attacker, such as burning in lava or, in the attached demonstration video, cactus.

blazing_prot_crash.mp4

The crash report is also attached below. It is likely that Blazing Protection doesn't have any code to fall back on when the attacker parameter is null, thus causing it to crash entirely. I imagine it would be a simple fix.

crash-2023-05-16_21.48.31-server.txt

Citadel version - 2.3.3
DI version - 1.7.0
MC version - 1.19.4
FML version - 45.0.64