Wrong death message for dying to a tesla coil
Ch1216 opened this issue ยท 2 comments
Describe the bug
When dying to tesla coils, it deals createaddition:barbed_wire damage, instead of createaddition:tesla_coil making the wrong death message appear
To Reproduce
Steps to reproduce the behavior:
- Power a tesla coil with FE and Redstone
- Die to it
- See the death message "Player tried to cross barbed wired" appear instead of "Player received a lethal electric shock"
Additional context
- Mod version: 1.5.2
- Forge version: 21.1.203
- Create version: 6.0.6
If I had to guess this line of code is to blame