Closed lcy0x1 closed 7 months ago
Trinkets are not intended to be used by any creature other than the Player.
I understand from the message that you would like it to be possible for other entities to be able to use them, rather than simply avoiding the crash.
I don't think it's negative to add it, so I'll keep it in mind for the future.
I understand that some trinkets are not meant to be used by non-players. I'm the dev of ModularGolems. I just want to make sure things won't crash when player put them on golems.
Forge 1.20.1 NamelessTrinkets 1.7.8 Curios use
LivingEntity
for wearer because it intends non-player to be able to wear curios as well. In 1.20.1, Curios formally adds infrastructure to allow non-player entities to wear curio. However, this mod still casts wearer to player without checks, causing crash when things are equipped on non-player entities.Example crash log: