
Enderic Laser sometimes crashes the game when attacking hostile mobs
JaoHundred opened this issue ยท 4 comments
Issue description
Enderic Laser seems to crash the game when attacking hostile entities, it does not have a guaranteed way of reproducing from my understanding it just happens randomly.
Steps to reproduce
- place any enderic laser with a battery from the mod powah!
- energize it with an oritech energy cable
- place a machine extender addon under enderic laser and 2 hunter addon on it
- wait for the laser to target any hostile entities
Minecraft version
1.21.1 (Latest)
Platform
Neoforge
Loader version
21.1.117
Fabric API version
0.107.0+2.0.23+1.21.1
Oritech version
0.13.2
Other relevant versions
No response
If a (crash)log is relevant for this issue, link it here: (It's almost always relevant)
Hi, I believe this is a compatibility issue with cobblemon, where cobblemon assumes that the player that attacked the mob is a real serverplayerentity, instead of just a custom playerentity. I think it's easiest to fix this on their side, but I'll check in with them to see if Oritech is actually doing something wrong here.
This mixin should be the cause of this crash: https://gitlab.com/cable-mc/cobblemon/-/blob/main/common/src/main/java/com/cobblemon/mod/common/mixin/PlayerMixin.java#L169
I'll open an issue on their gitlab
Just raised an issue on their sde: https://gitlab.com/cable-mc/cobblemon/-/issues/1460
Thank you for your response and clarification, I took a look in their gitlab issues and it seems they will fix it in the next major cobblemon version(no known release date for now). Thank you again for the help and amazing mod.