Grim's Transportables

Grim's Transportables

1M Downloads

Bug: Undamageable(by players) Carriage causes crash when hit by other sources

wildficus opened this issue ยท 3 comments

commented

Describe the bug
DeathDusk Modpack official server is where it happened.
Carriage was immortal, could not be punched or dropped to item.
Phantom hit it with a Shockwave ( Revamped Phantoms) - Server Crash - Issue attached at bottom
Put carriage into lava - Server Crash

To Reproduce
Steps to reproduce the behavior:
Somehow obtain undamageable carriage.
It gets hit by phantom/ put in lava.
Server crash.

Expected behavior
If something hits an immune carriage(dont know how to make it immune to player hits) such as an external damage source, server crashes.

Mod version:
transportables-1.2
Fabric API version:
fabric-api-0.53.4+1.18.2.jar
Minecraft version:
1.18.2

Screenshots
If applicable, add screenshots to help explain your problem.

Additional Context:
crash-2022-05-28_21.26.23-server.txt
crash-2022-05-28_21.42.39-server.txt

Add any other context about the problem here.

commented

I took a look at the crash report and can confirm that this is not caused by Revamped Phantoms. Some mod (possibly this one) has code in LivingEntity#hurt, or puts code there with a mixin, that causes this issue.

commented

I took a look at the crash report and can confirm that this is not caused by Revamped Phantoms. Some mod (possibly this one) has code in LivingEntity#hurt, or puts code there with a mixin, that causes this issue.

Transportables does not do anything related to LivingEntity#hurt.

As the first crashlog does not relate to Transporables at all I do not think this is related to Transportables. I also can not replicate this. It is likely related to another mod.