Mekanism

Mekanism

111M Downloads

Inventories are improperly returning null when they should not be.

KingLemming opened this issue ยท 5 comments

commented

We went over this one a long time ago, Aidan. ;) Vanilla doesn't return nulls and you shouldn't either:

https://github.com/CoFH/Feedback/issues/339

commented

Uh oh, I thought I changed all those. What machine was the Itemduct connected to?

commented
commented

Alright then :) Awesome. I'll shut it down.

commented

BTW, a good way to handle this is to just have a static ItemStack[] NO_SLOTS = new ItemStack {}; in your code somewhere and just refer to it whenever you need to.

commented

I do exactly that, actually.
Tell them to update Mekanism, they're using v7 :)