Crash when a mob uses the Shield of Solar God
noncom opened this issue ยท 1 comments
Hey, there's a crash.
Playing a modpack where mobs can carry and use items.
So one of them apparently got the Shield of Solar God and tried using it.
As I see the code doesn't anticipate that the user could be not a player: https://github.com/FINDERFEED/SolarCraftRepository/blob/master/src/main/java/com/finderfeed/solarcraft/content/items/ShieldOfSolarGod.java#L118
But hey, it's a LivingEntity
originally, so why not :)