First batch of null -> isEmpty() checks.

I most likely still missed a ton of checks...
This commit is contained in:
Gunther De Wachter
2017-06-26 05:15:25 +02:00
parent 370fc49357
commit da5879b667
117 changed files with 594 additions and 570 deletions
@@ -23,6 +23,7 @@ import java.util.Iterator;
import appeng.api.storage.data.IAEItemStack;
import appeng.api.storage.data.IItemList;
import net.minecraft.item.ItemStack;
public final class IMEAdaptorIterator implements Iterator<ItemSlot>
@@ -68,7 +69,7 @@ public final class IMEAdaptorIterator implements Iterator<ItemSlot>
return this.slot;
}
this.slot.setItemStack( null );
this.slot.setItemStack( ItemStack.EMPTY );
return this.slot;
}