Cardinal Components API

Cardinal Components API

21M Downloads

IndexOutOfBoundsException when registering component types

LemmaEOF opened this issue ยท 1 comments

commented

log
code

It looks like trying to register too many component types might an IOOB - maybe the reassignment isn't working properly?

commented

Found the actual problem line! if (this.raw2Types.length < rawId) doesn't work because arrays zero-index; it needs to be <= instead