betteranimalsplus
betteranimalsplus copied to clipboard
Cape can not be equipped to non-players with Curios loaded
Describe what you were doing before the crash
The Curios compatibility predicate casts produces a Class cast exception because it does not check for player https://github.com/itsmeow/betteranimalsplus/blob/ecf9f8f612603e5b5fb938306321ebf8bded9bd2/forge/src/main/java/dev/itsmeow/betteranimalsplus/compat/curios/CuriosModCompat.java#L30
To Reproduce
Steps to reproduce the behavior (if possible):
- Have a hunter/vampire minion
- Open inventory of the minion
- Equip cape as armor
- See error
Crash Log (REQUIRED)
Versions
- Minecraft Version: 1.16.5
- Architectury API Version: 1.32.66
- Platform (Forge/Fabric): Forge
- Forge Version: 36.2.39
- Fabric Loader Version:
- Fabric API Version:
- Mod Version: 1.16.5-11.0.5
Additional context
Involved mods Curios and Vampirism