
Server halting from exception in server tick loop
bark-ing opened this issue ยท 1 comments
Describe the Bug
Whenever one of the trains run over an enderman, it halts the server and crashes instantly.
Important crash report details:
Description: Exception in server tick loop
java.lang.ClassCastException: class com.simibubi.create.content.logistics.trains.entity.CarriageContraptionEntity cannot be cast to class net.minecraft.world.entity.LivingEntity (com.simibubi.create.content.logistics.trains.entity.CarriageContraptionEntity is in module [email protected] of loader 'TRANSFORMER' @58601e7a; net.minecraft.world.entity.LivingEntity is in module [email protected] of loader 'TRANSFORMER' @58601e7a)
Reproduction Steps
- Make a train on a railway
- Spawn an enderman
- Run over the enderman
Expected Result
Doesn't halt/crash the server.
Screenshots and Videos
No response
Crash Report or Log
Operating System
Windows 10
Mod Version
0.5.0f
Minecraft Version
1.19.2
Forge Version
43.1.52
Other Mods
Additional Context
This is being ran on a server.
The first line of the stack trace is [...] at net.ldm.mo_enchants.enchantment.helpers.BonusDamageEnchantmentHelper.onLivingDamage
The crash is caused by this "Mo' Enchants" mod. It is likely trying to interpret the train as a "living" entity, probably because it wrongfully expects all damage sources to be "living" entities.