Closed TabakaSIM closed 7 months ago
You can use isNull
to handle with it, sry for now I don't have the free time to work on this issue, but PR welcome.
isNull
can't be used here, because exception happen in Java code before any value returned to ZenScript.
Fixed, #be30b31
I use
mods.randomtweaker.thaumcraft.IEntity.getAspects(entity)
to get entity aspects list. However if the entity doesn't have any set aspects (like zombie villager) it shows this error:Is there a way to return empty list for this case?