mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Merge pull request #4314 from thommy101/issue-4302
Fix missed null ItemStack logistical transporter
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user