if (intoSlot == null) intoSlot = 0;
fromSlot -= 1;
intoSlot -= 1;
checkSlotId(otherInventory, fromSlot, "input");
checkSlotId(thisInventory, intoSlot, "output");
<BUG>return InventoryUtils.moveItemInto(otherInventory, fromSlot, thisInventory, intoSlot, maxAmount, direction.getOpposite(), true);

}</BUG>
@Alias("pushItemIntoSlot")
@LuaCallable(returnTypes = LuaReturnType.NUMBER, description = "Push an item from the current inventory into slot on the other one. Returns the amount of items moved")

if (intoSlot == null) intoSlot = 0;
fromSlot -= 1;
intoSlot -= 1;
checkSlotId(otherInventory, fromSlot, "input");
checkSlotId(thisInventory, intoSlot, "output");
final int amount = ItemDistribution.moveItemInto(otherInventory, fromSlot, thisInventory, intoSlot, maxAmount, direction.getOpposite(), true);
if (amount > 0) {
thisInventory.markDirty();
otherInventory.markDirty();
}
return amount;
}
@Alias("pushItemIntoSlot")
@LuaCallable(returnTypes = LuaReturnType.NUMBER, description = "Push an item from the current inventory into slot on the other one. Returns the amount of items moved")
