Not sure if this intented or not, but it looks like AspectHelper.getObjectAspects() always returns a non-empty AspectList for non-null itemstacks.
However, when the item does not have any aspects registered to it, this list seems to be of length 1 with null as its first element.
I assume the intended behaviour of this is that the AspectList should have size 0?
Not sure if this intented or not, but it looks like
AspectHelper.getObjectAspects()
always returns a non-emptyAspectList
for non-null itemstacks. However, when the item does not have any aspects registered to it, this list seems to be of length 1 with null as its first element. I assume the intended behaviour of this is that theAspectList
should have size 0?