java.lang.ArrayIndexOutOfBoundsException: 1 when initializing an entity
mchorse opened this issue ยท 2 comments
Issue Description:
Initially reported by @ techno_dos1 on Twitter. A crash occurs when my Metamorph mod tries to initialize entities from Forge's entity registry. Here is how I initiate the entity.
The issue comes from StateUtil
class which by default expects the data to have special formatting, but I guess Metamorph either strips that data or this data gets provided by the mod somewhere in the event hooks.
What happens:
A crash occurs when opening creative morph menu. Here is the crash report (submitted by techno_dos1).
What you expected to happen:
No crash. ๐
Steps to reproduce:
(I guess those are steps are a bit out of scope, but I'll provide them anyway)
- Install Metamorph and Blood Magic.
- Open creative morph menu (B key by default).
- Crash occurs.
Affected Versions (Do not use "latest"):
- BloodMagic: 2.3.3
- Minecraft: 1.12.2
- Forge: 14.23.1.2554
Blacklist it. There's no reason anybody should be morphing into a mimic, especially if there's no data initialized.