![Spoorn Armor Attributes [Fabric/Forge]](https://media.forgecdn.net/avatars/thumbnails/564/871/256/256/637921798490854640.png)
Crash When hit with Guardian Ranged Attack with Thorns on Armor.
Talan67 opened this issue ยท 5 comments
Mod Version 1.0.5, Forge Version 1.18.2
When Hit with a Guardian Beam while wearing any Armor Piece that has the Thorns stat, it will Crash either the Server or Singleplayer world your in. This is only with guardians as far as I'm aware.
Think I may be seeing this issue as well. Server crashed shortly after one of my players come in range of a Guardian. After restarting the server, we were stable until he tried to join again, server crashed within 10 seconds of him joining. Checking the NBT on his character, I can see 2 items that have THORNS saa attribute.
Mod: 2.0.5
Forge: 43.1.27
I can upload full crash, debug & logs if needed.
Relevant section of debug log:
Zach_Crash_Log.txt
Anecdotal evidence that this is what I was seeing.
I edited the player's dat file to relocate the equipped leggings that had THORNS attribute to his normal inventory (slot 101 > 24) & he was able to login & fight the Guardians without crashing the server.
https://gist.github.com/someaddons/51972653e1d3749058ef0ab370e88488
seems to cause a loop on trigger
This is because Guardians apply thorns as well in vanilla, so the player with thorns on an armor will damage the Guardian, which has thorns and will damage the player, and loop infinitely.
I'll change the SpoornArmorAttributes Thorn to be magic damage, which is how vanilla does it - but it means thorns will do less damage to Witches