#Unusual End 1.19.2 Shulker Shooter crash

1 messages · Page 1 of 1 (latest)

astral walrus
#

The shulker shooters seem to always crash the game when their projectile hits an entity, namely mobs and the player in survival mode.

delicate gull
#

But i doubt it's on my end : my mod use vanilla shulker projectiles. Check with the levitation potion effect and look what happened when you're shot by a shulker. I'm pretty sure i was one time reported something like that and in the end it was an issue with a mod affecting all shulker projectiles.

astral walrus
#

I'm not totally sure if it's a vanilla shulker thing since the crash report seems to imply it's an issue with the shulker shooter having no attacker data

delicate gull
astral walrus
#

Sure thing

gloomy ploverBOT
#

festive @astral walrus, you have reached the level 1!

astral walrus
#

It gives the same crash report

delicate gull
#

so it's not an error on my side

#

it's due to the EnchantementHelper module

#

basically a mod modify the EnchantmentHelper.java file

delicate gull
astral walrus
#

No

delicate gull
#

i suspect that a mod is adding something like thorns, trying to get the entity that shot you. Since a projectile is always launched by someone, it's looking for the entity that launched it (like an arrow, the attacker isn't directly the arrow but the skeleton that shot it). Since there is no attacker that launched it, it's bugging

#

they forgot to add some sort of "if not attacker == null, do stuff", so it's crashing since they didn't took in consideration that a projectile could not be launched by an entity directly

astral walrus
#

Yeah that definitely seems to be the case

#

I'm not really sure what I could do in this case, since I'm not using any mods I'd really want to get rid of so as a band-aid solution I suppose I could make a data pack to replace the naturally generating shulker shooters with something else

delicate gull
#

it's probably an error of cavern and chasms end, since the mod is still in dev i suspect that they didn't added this (and quark being the only other mod mentionned, the error could have been reported before). I'll next update add some random default value as attacker to avoid this kind of issues

delicate gull
astral walrus
#

Oh yeah that's probably it, I kinda forgot I had those honestly

#

Would I need the command block to be running all the time? I feel like that would lag a server or something, no? (I have practically no experience with command blocks)

delicate gull
astral walrus
#

Sure thing