StellarWind22 / Fabric-Shield-Lib

Library for easily adding new shields, shield enchantments, and enabling you to enchant shields in general without worry of conflictions.
https://www.curseforge.com/minecraft/mc-mods/fabric-shield-lib
GNU Lesser General Public License v2.1
40 stars 19 forks source link

Crash upon blocking Blaze fireball #174

Closed evilmoondragon closed 5 months ago

evilmoondragon commented 8 months ago

Crash log here.

I added Reflection to my shield and things were going great. But now when I block a Blaze's fireball, the game freezes for a few seconds and then crashes with a code -1. I am unsure if this affects anything else or if it's a mod incompatibility, though it's a little inconvenient.

evilmoondragon commented 8 months ago

Update: It also applies to creeper explosions, and strangely enough, being set on fire by lava.

What seems to be happening is that the ticking causes Neruina to kick me/the entity out, causing the null pointer exception because now there is no attacker. And then it crashes. I guess for now I'm going to disenchant my shield so that I don't crash.

CringeStar commented 8 months ago

hmm this is an interesting issue. What you described seems to be the problem. I'm going to test this on my end. Could you say what MC version you are on? Also, is the Reflection enchantment the one that is made inside our library or a custom one you made? Additionally, did this happen in the normal launcher or a dev environment?

CringeStar commented 7 months ago

Is this still an issue?

CringeStar commented 7 months ago

Hello?

CringeStar commented 5 months ago

If there is no response soon, I'll close this issue.