Azanor / thaumcraft-5-api

API for Thaumcraft 5
29 stars 3 forks source link

AspectList can contain null element #11

Closed rubensworks closed 8 years ago

rubensworks commented 8 years ago

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?