Merge pull request #4314 from thommy101/issue-4302

Fix missed null ItemStack logistical transporter
This commit is contained in:
Aidan authored and GitHub committed 2017-04-12 20:24:02 -04:00
commit 0b6bf0ab43
1 file changed
+1 -1
@@ -118,7 +118,7 @@ public class TransporterImpl extends TransmitterImpl<IInventory, InventoryNetwor
{
ItemStack rejected = InventoryUtils.putStackInInventory(inventory, stack.itemStack, stack.getSide(this), stack.pathType == Path.HOME);
if(rejected == null)
if(rejected.isEmpty())
{
TransporterManager.remove(stack);
remove.add(stack);